diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-03 15:03:01 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-03 15:03:01 +0000 |
commit | 10e856dedeb8bc7adf01213ff393b82772c90e92 (patch) | |
tree | 11abafb66c94c7fab821d22e94111b28eca3d163 /plugins/QuickContacts/src/options.h | |
parent | eda0d3c6750da5b6f35dc696ac5a11d47ca1e1ea (diff) |
QuickContacts - welcome on board
git-svn-id: http://svn.miranda-ng.org/main/trunk@1770 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickContacts/src/options.h')
-rw-r--r-- | plugins/QuickContacts/src/options.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/plugins/QuickContacts/src/options.h b/plugins/QuickContacts/src/options.h new file mode 100644 index 0000000000..1036261bbb --- /dev/null +++ b/plugins/QuickContacts/src/options.h @@ -0,0 +1,65 @@ +/*
+Copyright (C) 2006 Ricardo Pescuma Domenecci
+Based on work (C) Heiko Schillinger
+
+This is free software; you can redistribute it and/or
+modify it under the terms of the GNU Library General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This 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
+Library General Public License for more details.
+
+You should have received a copy of the GNU Library General Public
+License along with this file; see the file license.txt. If
+not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.
+*/
+
+
+#ifndef __OPTIONS_H__
+# define __OPTIONS_H__
+
+
+#include "commons.h"
+
+#include <windows.h>
+
+
+#define TYPE_GLOBAL 0
+#define TYPE_LOCAL 1
+
+typedef struct
+{
+ BOOL last_sent_enable;
+ int last_sent_msg_type;
+ BOOL hide_from_offline_proto;
+ BOOL hide_subcontacts;
+ BOOL keep_subcontacts_from_offline;
+ BOOL group_append;
+ BOOL group_column;
+ BOOL group_column_left;
+
+ int num_protos;
+} Options;
+
+extern Options opts;
+
+
+// Initializations needed by options
+void InitOptions();
+
+// Deinitializations needed by options
+void DeInitOptions();
+
+
+// Loads the options from DB
+// It don't need to be called, except in some rare cases
+void LoadOptions();
+
+
+
+
+#endif // __OPTIONS_H__
|