summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-10-25 11:41:08 +0000
committerRobert Pösel <robyer@seznam.cz>2015-10-25 11:41:08 +0000
commitbf40980c0484f7c0639a040b5abc80f181084283 (patch)
tree3b9b4b6604874262388e65945f7039f2a30d8ce8 /protocols/Dummy/src/dummy.h
parent0ace710d01dc20a6befcc9eefaa26ebf7ccc2a75 (diff)
Dummy: Simplify settings by provide list of existing protocols to choose from; Version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@15612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Dummy/src/dummy.h')
-rw-r--r--protocols/Dummy/src/dummy.h81
1 files changed, 58 insertions, 23 deletions
diff --git a/protocols/Dummy/src/dummy.h b/protocols/Dummy/src/dummy.h
index 9fa7c9d0c1..34f2ad3a7d 100644
--- a/protocols/Dummy/src/dummy.h
+++ b/protocols/Dummy/src/dummy.h
@@ -1,23 +1,58 @@
-/*
-Copyright (c) 2014 Robert Pösel
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation version 2
-of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-struct CDummyProto;
-extern LIST<CDummyProto> dummy_Instances;
-extern HINSTANCE hInst;
-
-#define DUMMY_ID_TEXT "UniqueIdText"
-#define DUMMY_ID_SETTING "UniqueIdSetting" \ No newline at end of file
+/*
+Copyright (c) 2014 Robert Pösel
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+struct CDummyProto;
+extern LIST<CDummyProto> dummy_Instances;
+extern HINSTANCE hInst;
+
+#define DUMMY_ID_TEMPLATE "Template"
+#define DUMMY_ID_TEXT "UniqueIdText"
+#define DUMMY_ID_SETTING "UniqueIdSetting"
+
+typedef struct {
+ const char *name;
+ const char *setting;
+ const char *text;
+} ttemplate;
+
+static const ttemplate templates[] = {
+ { LPGEN("Custom"), "", "" },
+ { "AIM", "SN", LPGEN("Screen Name") },
+ { "EmLAN", "Nick", LPGEN("User name") },
+ { "Facebook", "ID", LPGEN("Facebook ID") },
+ { "GG", "UIN", LPGEN("Gadu-Gadu Number") },
+ { "ICQ", "UIN", LPGEN("User ID") },
+ { "ICQCorp", "UIN", LPGEN("ICQ number") },
+ { "IRC", "Nick", LPGEN("Nickname") },
+ { "Jabber", "jid", LPGEN("JID") },
+ { "MinecraftDynmap", "Nick", LPGEN("Visible name") },
+ { "MRA", "e-mail", LPGEN("E-mail address") },
+ { "MSN", "e-mail", LPGEN("Live ID") },
+ { "Omegle", "nick", LPGEN("Visible name") },
+ { "Sametime", "stid", LPGEN("ID") },
+ { "Skype (SkypeKit)", "sid", LPGEN("Skype name") },
+ { "Skype (Classic)", "Username", LPGEN("Skype name") },
+ { "Skype (Web)", "Username", LPGEN("Skype name") },
+ { "Steam", "SteamID", LPGEN("Steam ID") },
+ { "Tlen", "jid", LPGEN("Tlen login") },
+ { "Tox", "ToxID", LPGEN("Tox ID") },
+ { "Twitter", "Username", LPGEN("Username") },
+ { "VK", "ID", LPGEN("VK ID") },
+ { "WhatsApp", "ID", LPGEN("WhatsApp ID") },
+ { "XFire", "Username", LPGEN("Username") },
+ { "Yahoo", "yahoo_id", LPGEN("ID") },
+};