initial import
[platform/core/security/drm-service-core-intel.git] / include / CXMLAttribute.h
1 \r
2 /********************************************************************************\r
3 * Copyright ? 2004-2009 by INKA Entworks, Inc (www.inka.co.kr).                                 *\r
4 * All rights reserved.                                                                  * \r
5 *                                                                                       * \r
6 * No parts of this source code may be in any way copied, reproduced, modified   *\r
7 * or distributed without the prior written consent of INKA Entworks, Inc.       *\r
8 * CXMLAttribute.h: interface for the CXMLAttribute class.                                               *\r
9 *********************************************************************************/ \r
10 #include "InkaTypes.h"\r
11 \r
12 #if !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)\r
13 #define AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_\r
14 \r
15 #if _MSC_VER > 1000\r
16 #pragma once\r
17 #endif // _MSC_VER > 1000\r
18 \r
19 class CXMLAttribute  \r
20 {\r
21 protected:\r
22         LPTSTR                                                  m_pszName;\r
23         LPTSTR                                                  m_pszValue;\r
24 \r
25 public:\r
26         CXMLAttribute();\r
27         virtual ~CXMLAttribute();\r
28 \r
29         int                                             SetName( LPCTSTR pszName );\r
30         int                                             SetValue( LPCTSTR pszValue );\r
31 \r
32         inline LPCTSTR                  GetName() { return m_pszName; }\r
33         inline LPCTSTR                  GetValue() { return m_pszValue; }\r
34 };\r
35 \r
36 #endif // !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)\r