Change event sync to async
[platform/framework/native/appfw.git] / src / io / inc / FIo_SecureRegistry.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
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 /**
18  * @file        FIo_SecureRegistry.h
19  * @brief       This is the header file for the %_SecureRegistry class.
20  */
21
22 #ifndef _FIO_INTERNAL_SECUREREGISTRY_H_
23 #define _FIO_INTERNAL_SECUREREGISTRY_H_
24
25 #include <FIo_NormalRegistry.h>
26 #include <FIo_RegistryCore.h>
27
28 namespace Tizen { namespace Io
29 {
30
31 class _SecureRegistry
32         : public _RegistryCore
33 {
34
35 public:
36         _SecureRegistry(void);
37
38         virtual ~_SecureRegistry(void);
39
40         result Construct(const Tizen::Base::String& regPath, const char* pOpenMode, const Tizen::Base::ByteBuffer* pSecretKey);
41
42         result Flush(void);
43
44 private:
45         _SecureRegistry(const _SecureRegistry& rhs);
46
47         _SecureRegistry& operator =(const _SecureRegistry& rhs);
48
49         Tizen::Base::ByteBuffer* __pSecretKey;
50
51 }; // _SecureRegistry
52
53 }} // Tizen::Io
54
55 #endif //_FIO_INTERNAL_SECUREREGISTRY_H_
56