summaryrefslogtreecommitdiff
path: root/plugins/AsSingleWindow/src/Options.h
blob: f7519ed554f69c0fa9d5795677a9f2ded58b9f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#ifndef _OPTIONS_H
#define _OPTIONS_H

#define SETTINGSNAME "AsSingleWindow"

#ifdef UNICODE
#define LPGENSTR LPGENT
#define DBGetString DBGetContactSettingTString
#define DBWriteString DBWriteContactSettingTString
#else
#define LPGENSTR LPGEN
#define DBGetString DBGetContactSettingString
#define DBWriteString DBWriteContactSettingString
#endif

int InitOptions(WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK cbOptionsDialog(HWND, UINT, WPARAM, LPARAM);

void dlgProcessInit(HWND, UINT, WPARAM, LPARAM);
void dlgProcessCommand(HWND, UINT, WPARAM, LPARAM);
void dlgUpdateControls(HWND);

void optionsLoad();
void optionsUpdate(HWND);
void optionsSave();

#endif

// end of file