Fix coding style according to tizen rule
[platform/core/security/drm-service-core-tizen.git] / tadcore / include / DrmFileHandler.h
index 7ef315b..1055f11 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#ifndef __DRMFILEHANDLER_H_
+#define __DRMFILEHANDLER_H_
 
 #include <stdio.h>
 
 #include "DrmTdcSvc.h"
 
-class DrmFileHandler
-{
-
+class DrmFileHandler {
 public:
        DrmFileHandler(void);
        ~DrmFileHandler(void);
 
-       int     Construct(const char* szDrmFilePath);
-       int     DrmSeek(long long offset, int origin);
+       int Construct(const char *szDrmFilePath);
+       int DrmSeek(long long offset, int origin);
        long long DrmTell(void);
-       int     DrmRead(void* pBuf, long long bufLen, long long* pReadLen);
+       int DrmRead(void *pBuf, long long bufLen, long long *pReadLen);
 
 #ifndef TEST_CODE_ENABLED
 private:
 #endif
-       int     DrmDecryptBlocks(void);
+       int DrmDecryptBlocks(void);
        long long GetCurBlockIndex(void);
 
        unsigned char *m_pFilePath;
@@ -41,7 +41,7 @@ private:
        unsigned char *m_pCEK;
        unsigned char *m_pDecBuf;
 
-       int     m_PlaintextStartOffset;
+       int m_PlaintextStartOffset;
        FILE *m_pFP;
 
        long m_encryptionLevel;
@@ -56,3 +56,5 @@ private:
        long long m_decReadlen;
        long long m_extraReadlen;
 };
+
+#endif //__DRMFILEHANDLER_H_