diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-26 12:33:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-26 12:33:08 +0000 |
commit | 4a966be3c32e745b2567e51c27766942f798f77d (patch) | |
tree | 82f066d0b5d6d3e90350382101810cb6f8da0677 /plugins/NotifyAnything/src/stdafx.h | |
parent | fffcd98b6f25af8d7a7895302e3b1ff64344d526 (diff) |
common projects
git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotifyAnything/src/stdafx.h')
-rw-r--r-- | plugins/NotifyAnything/src/stdafx.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/plugins/NotifyAnything/src/stdafx.h b/plugins/NotifyAnything/src/stdafx.h new file mode 100644 index 0000000000..3b2ee7f221 --- /dev/null +++ b/plugins/NotifyAnything/src/stdafx.h @@ -0,0 +1,50 @@ +#define _CRT_SECURE_NO_DEPRECATE
+
+#include <windows.h>
+#include <time.h>
+#include <direct.h>
+#include <process.h>
+#include <string>
+#include <map>
+#include <set>
+#include <vector>
+
+#include "newpluginapi.h"
+#include "m_options.h"
+#include "m_skin.h"
+#include "m_langpack.h"
+#include "m_database.h"
+#include "m_popup.h"
+
+#include "resource.h"
+#include "Version.h"
+
+extern HINSTANCE hInst;
+
+const char PlugName[] = "NotifyAnything";
+
+//---------------------------
+//---Internal Hooks (see main.c)
+//---(Workaround till CallServiceSync is available)
+
+struct NASettings {
+ enum sound_t { never, always, request };
+
+ bool local_only, debug_messages, log_to_file, use_pcspeaker, allow_execute;
+ sound_t sound;
+ int port;
+ std::tstring password, log_filename;
+};
+
+extern NASettings g_settings;
+
+void stop_threads();
+void start_threads();
+
+void save_settings();
+void load_settings();
+
+int OptionsInitialize(WPARAM wParam, LPARAM lParam);
+
+extern std::tstring g_mirandaDir;
+#define LOG_ID LPGEN("NotifyAnything")
|