mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
16 lines
424 B
C#
16 lines
424 B
C#
namespace TweetDck.Plugins{
|
|
enum PluginGroup{
|
|
Official, Custom
|
|
}
|
|
|
|
static class PluginGroupExtensions{
|
|
public static string GetIdentifierPrefix(this PluginGroup group){
|
|
switch(group){
|
|
case PluginGroup.Official: return "official/";
|
|
case PluginGroup.Custom: return "custom/";
|
|
default: return "unknown/";
|
|
}
|
|
}
|
|
}
|
|
}
|