summaryrefslogtreecommitdiff
path: root/plugins/ContextHelp/src/help.h
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2016-02-06 21:35:37 +0000
committerGoraf <goraf@miranda-ng.org>2016-02-06 21:35:37 +0000
commit941dca4cf7a93100c19a6e3b92e1bc6bf9e71f04 (patch)
tree3d33cf2d259e525888700be71bd90b04b20e2018 /plugins/ContextHelp/src/help.h
parent19f2b2f3335306efc1619a377ba28dc265ebb180 (diff)
ContextHelp:
* not used controls removed * links fixed * decapitalization git-svn-id: http://svn.miranda-ng.org/main/trunk@16232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContextHelp/src/help.h')
-rw-r--r--plugins/ContextHelp/src/help.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/plugins/ContextHelp/src/help.h b/plugins/ContextHelp/src/help.h
index cd6e095e7e..3eb43f9982 100644
--- a/plugins/ContextHelp/src/help.h
+++ b/plugins/ContextHelp/src/help.h
@@ -52,17 +52,21 @@ int RemoveDialogBoxHook(void);
#define CTLTYPE_COLOUR 25
#define CTLTYPE_TOOLBAR 26
#define CTLTYPE_SIZEGRIP 27
+
extern const TCHAR *szControlTypeNames[];
+
int GetControlType(HWND hwndCtl);
HWND GetControlDialog(HWND hwndCtl);
int GetControlTitle(HWND hwndCtl, TCHAR *pszTitle, int cchTitle);
char *GetControlModuleName(HWND hwndCtl);
int GetControlID(HWND hwndCtl);
char *CreateDialogIdString(HWND hwndDlg);
+
struct ResizableCharBuffer {
char *sz;
int iEnd, cbAlloced;
};
+
void AppendCharToCharBuffer(struct ResizableCharBuffer *rcb, char c);
void AppendToCharBuffer(struct ResizableCharBuffer *rcb, const char *fmt, ...);
@@ -114,6 +118,7 @@ void UninitOptions(void);
void TrimStringSimple(char *str);
void TrimString(char *str);
BOOL IsEmpty(const char *str);
+
typedef struct {
TCHAR szLanguage[64];
LCID Locale;
@@ -128,9 +133,11 @@ typedef struct {
TCHAR szFileName[MAX_PATH]; /* just the file name itself */
BYTE flags; /* see HPIF_* flags */
} HELPPACK_INFO;
+
#define HPF_ENABLED 0x01 // pack is enabled
#define HPF_NOLOCALE 0x02 // pack has no valid locale
-#define HPF_DEFAULT 0x04 // pack is english default
+#define HPF_DEFAULT 0x04 // pack is english default
+
BOOL GetPackPath(TCHAR *pszPath, int nSize, BOOL fEnabledPacks, const TCHAR *pszFile);
typedef INT_PTR(CALLBACK *ENUM_PACKS_CALLBACK)(HELPPACK_INFO *pack, WPARAM wParam, LPARAM lParam);
BOOL EnumPacks(ENUM_PACKS_CALLBACK callback, const TCHAR *pszFilePattern, const char *pszFileVersionHeader, WPARAM wParam, LPARAM lParam);
@@ -138,9 +145,5 @@ BOOL IsPluginIncluded(const HELPPACK_INFO *pack, char *pszFileBaseName);
BOOL EnablePack(const HELPPACK_INFO *pack, const TCHAR *pszFilePattern);
void CorrectPacks(const TCHAR *pszFilePattern, const TCHAR *pszDefaultFile, BOOL fDisableAll);
-/* update.c
-INT_PTR ServiceShowLangDialog(WPARAM wParam, LPARAM lPARAM);
-void InitUpdate(void);
-void UninitUpdate(void);*/
#endif // __CONTEXTHELP_HELP_H__ \ No newline at end of file