Fix coding style according to tizen rule
[platform/core/security/drm-service-core-tizen.git] / tadcore / include / CXMLAttribute.h
index 1e68d4d..046e771 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#ifndef __CXMLATTRIBUTE_H__
+#define __CXMLATTRIBUTE_H__
 
 #include "TadcTypes.h"
 
-#if !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)
-#define AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-class CXMLAttribute
-{
+class CXMLAttribute {
 protected:
-       LPTSTR                                                  m_pszName;
-       LPTSTR                                                  m_pszValue;
+       LPTSTR m_pszName;
+       LPTSTR m_pszValue;
 
 public:
        CXMLAttribute();
        virtual ~CXMLAttribute();
 
-       int                                             SetName( LPCTSTR pszName );
-       int                                             SetValue( LPCTSTR pszValue );
+       int SetName(LPCTSTR pszName);
+       int SetValue(LPCTSTR pszValue);
+
+       inline LPCTSTR GetName()
+       {
+               return m_pszName;
+       }
 
-       inline LPCTSTR                  GetName() { return m_pszName; }
-       inline LPCTSTR                  GetValue() { return m_pszValue; }
+       inline LPCTSTR GetValue()
+       {
+               return m_pszValue;
+       }
 };
 
-#endif // !defined(AFX_CXMLATTRIBUTE_H__2B925786_3613_47B0_B85D_CAF2053F46DB__INCLUDED_)
+#endif //__CXMLATTRIBUTE_H_