root/swishctl/src/AnsiBSTR.h

Revision 1232, 0.7 kB (checked in by augur, 5 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 // AnsiBSTR.h: interface for the CAnsiBSTR class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_ANSIBSTR_H__5C10CD8E_238E_4483_A5C3_702741F49B3E__INCLUDED_)
6 #define AFX_ANSIBSTR_H__5C10CD8E_238E_4483_A5C3_702741F49B3E__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 class CAnsiBSTR : public CComBSTR 
13 {
14 public:
15         CAnsiBSTR( BSTR bstr);
16         CAnsiBSTR(const char *source);
17         virtual ~CAnsiBSTR();
18
19 };
20
21 class CAnsiStr 
22 {
23 public:
24         CAnsiStr( BSTR bstr);
25         char * c_str();
26         virtual ~CAnsiStr();
27 private:
28                 char * m_cstr;
29 };
30 #endif // !defined(AFX_ANSIBSTR_H__5C10CD8E_238E_4483_A5C3_702741F49B3E__INCLUDED_)
Note: See TracBrowser for help on using the browser.