summaryrefslogtreecommitdiff
path: root/plugins/Folders/dlg_handlers.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-27 07:00:19 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-27 07:00:19 +0000
commitab30760975535269bef135883d3394760bd4eade (patch)
tree843362bde4bfd65a5f279aedc26ac06e7cee6a81 /plugins/Folders/dlg_handlers.h
parent64e5be276b2b883ea354b1efe77d788cfa1a567d (diff)
projects cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/dlg_handlers.h')
-rw-r--r--plugins/Folders/dlg_handlers.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/Folders/dlg_handlers.h b/plugins/Folders/dlg_handlers.h
new file mode 100644
index 0000000000..4f3a4f15ca
--- /dev/null
+++ b/plugins/Folders/dlg_handlers.h
@@ -0,0 +1,28 @@
+#ifndef M_FOLDERS_DLG_HANDLERS_H
+#define M_FOLDERS_DLG_HANDLERS_H
+
+//#include "commonheaders.h"
+#include "services.h"
+#include "events.h"
+#include <richedit.h>
+
+INT_PTR CALLBACK DlgProcOpts(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK DlgProcVariables(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
+
+int GetCurrentItemSelection(HWND hWnd);
+int GetCurrentSectionSelection(HWND hWnd);
+PFolderItem GetSelectedItem(HWND hWnd);
+int GetCurrentSectionText(HWND hWnd, WCHAR *buffer, int count);
+int GetCurrentItemText(HWND hWnd, WCHAR *buffer, int count);
+//void GetEditText(HWND hWnd, char *buffer, int size);
+void GetEditTextW(HWND hWnd, wchar_t *buffer, int size);
+//void SetEditText(HWND hWnd, const char *buffer);
+void SetEditTextW(HWND hWnd, const wchar_t *buffer);
+void LoadRegisteredFolderSections(HWND hWnd);
+void LoadRegisteredFolderItems(HWND hWnd);
+void LoadItem(HWND hWnd, PFolderItem item);
+void SaveItem(HWND hWnd, PFolderItem item, int bEnableApply = TRUE);
+int ChangesNotSaved(HWND hWnd);
+void RefreshPreview(HWND hWnd);
+
+#endif //M_FOLDERS_DLG_HANDLERS_H \ No newline at end of file