#pragma once #define _CRT_SECURE_NO_DEPRECATE #include #include #include #include #include #include #include #include #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" #define MODULENAME "NotifyAnything" struct CMPlugin : public PLUGIN { CMPlugin(); int Load() override; int Unload() override; }; //--------------------------- //---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::wstring 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::wstring g_mirandaDir;