author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 885f8cc426a8840ae61023b75f3f0e4a1e268082 (patch) (unidiff) | |
tree | 5e942d450c97ca0bf0f9cfb80aa0fefb486535d9 /status.cpp | |
download | kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.zip kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.tar.gz kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/kinsole/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | status.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/status.cpp b/status.cpp new file mode 100644 index 0000000..3338590 --- a/dev/null +++ b/status.cpp | |||
@@ -0,0 +1,30 @@ | |||
1 | |||
2 | enum _STSB{ | ||
3 | stsbSend = 1, | ||
4 | stsbIs = 0 | ||
5 | }; | ||
6 | |||
7 | BOOL statusOnDo() | ||
8 | { | ||
9 | TRACE0("DO STATUS\n"); | ||
10 | return TRUE; | ||
11 | } | ||
12 | BOOL statusOnWill() | ||
13 | { | ||
14 | TRACE0("WILL STATUS\n"); | ||
15 | return TRUE; | ||
16 | } | ||
17 | BOOL statusOnSB(LPBYTE data,UINT size) | ||
18 | { | ||
19 | if(!size) | ||
20 | return FALSE; | ||
21 | switch(data[0]){ | ||
22 | case stsbSend: | ||
23 | TRACE0("SB STATUS SEND\n"); | ||
24 | break; | ||
25 | case stsbIs: | ||
26 | TRACE0("SB STATUS IS\n"); | ||
27 | break; | ||
28 | } | ||
29 | return TRUE; | ||
30 | } \ No newline at end of file | ||