Synchronize with tizen 2.4
[platform/core/security/drm-service-core-tizen.git] / tadcore / include / CXMLAttribute.h
1 /*
2  * Copyright (c) 2000-2015 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Flora License, Version 1.1 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #include "TadcTypes.h"
18
19 #if !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)
20 #define AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_
21
22 #if _MSC_VER > 1000
23 #pragma once
24 #endif // _MSC_VER > 1000
25
26 class CXMLAttribute
27 {
28 protected:
29         LPTSTR                                                  m_pszName;
30         LPTSTR                                                  m_pszValue;
31
32 public:
33         CXMLAttribute();
34         virtual ~CXMLAttribute();
35
36         int                                             SetName( LPCTSTR pszName );
37         int                                             SetValue( LPCTSTR pszValue );
38
39         inline LPCTSTR                  GetName() { return m_pszName; }
40         inline LPCTSTR                  GetValue() { return m_pszValue; }
41 };
42
43 #endif // !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)