a4dcd17d013884a2b7c41b64233d8f27a58d508e
[platform/framework/native/appfw.git] / src / io / inc / FIo_NormalRegistry.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file        FIo_NormalRegistry.h
20  * @brief       This is the header file for the %_NormalRegistry class.
21  */
22
23 #ifndef _FIO_INTERNAL_NORMALREGISTRY_H_
24 #define _FIO_INTERNAL_NORMALREGISTRY_H_
25
26 #include <FBaseUuId.h>
27 #include <FBaseString.h>
28 #include <FBaseByteBuffer.h>
29 #include <FBaseColArrayList.h>
30 #include <FBaseColLinkedList.h>
31 #include <FBaseColHashMap.h>
32 #include <FBaseColIMap.h>
33 #include <FBaseResult.h>
34
35 #include <FIo_RegistryImpl.h>
36 #include <FIo_RegistryCore.h>
37
38 namespace Tizen { namespace Io
39 {
40
41 class File;
42 class _FileImpl;
43 class _SecureRegistry;
44
45 class _NormalRegistry
46         : public _RegistryCore
47 {
48
49 public:
50         _NormalRegistry(void);
51
52         virtual ~_NormalRegistry(void);
53
54         result Construct(const Tizen::Base::String& regPath, const char* pOpenMode);
55
56         result Flush(void);
57
58 private:
59         _NormalRegistry(const _NormalRegistry& rhs);
60
61         _NormalRegistry& operator =(const _NormalRegistry& rhs);
62
63         friend class Registry;
64         friend class _SecureRegistry;
65
66 }; // _NormalRegistry
67
68 }} // Tizen::Io
69
70 #endif //_FIO_INTERNAL_NORMALREGISTRY_H_
71