]> cygwin.com Git - cygwin-apps/setup.git/blame - cistring.h
2003-07-08 Max Bowsher <maxb@ukf.net>
[cygwin-apps/setup.git] / cistring.h
CommitLineData
b7301c43
RC
1/*
2 * Copyright (c) 2001, Gary R. Van Sickle.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
13 *
14 */
15
12e726c4
MB
16#ifndef SETUP_CISTRING_H
17#define SETUP_CISTRING_H
18
b7301c43
RC
19// Yep, another string class
20
21#include <windows.h>
22
23class cistring
24{
25 TCHAR *buffer;
26public:
27 cistring ()
28 {
29 buffer = NULL;
30 };
31 cistring (const TCHAR * s);
32 ~cistring ()
33 {
34 if (buffer != NULL)
35 delete[]buffer;
36 };
37
38 const TCHAR *c_str ()
39 {
40 return buffer;
41 };
42
43 DWORD Format (UINT i, ...);
44};
12e726c4
MB
45
46#endif /* SETUP_CISTRING_H */
This page took 0.03308 seconds and 5 git commands to generate.