equal
deleted
inserted
replaced
110 |
110 |
111 // --------------------------------------------------------------------------- |
111 // --------------------------------------------------------------------------- |
112 // void CLcRegAppStore::OpenDbL |
112 // void CLcRegAppStore::OpenDbL |
113 // --------------------------------------------------------------------------- |
113 // --------------------------------------------------------------------------- |
114 // |
114 // |
115 void CLcRegAppStore::OpenDbL( const TFileName aRegAppInfoFile ) |
115 void CLcRegAppStore::OpenDbL( const TFileName& aRegAppInfoFile ) |
116 { |
116 { |
117 // if it is already open then close it. |
117 // if it is already open then close it. |
118 Close(); |
118 Close(); |
119 // Check if the db file is exists or not. |
119 // Check if the db file is exists or not. |
120 if( BaflUtils::FileExists( iFsSession, aRegAppInfoFile ) ) |
120 if( BaflUtils::FileExists( iFsSession, aRegAppInfoFile ) ) |
141 // --------------------------------------------------------------------------- |
141 // --------------------------------------------------------------------------- |
142 // void CLcRegAppStore::CreateDbL() |
142 // void CLcRegAppStore::CreateDbL() |
143 // |
143 // |
144 // Create a new database. The database will be in exclusive access mode. |
144 // Create a new database. The database will be in exclusive access mode. |
145 // --------------------------------------------------------------------------- |
145 // --------------------------------------------------------------------------- |
146 void CLcRegAppStore::CreateDbL( const TFileName aRegAppInfoFile ) |
146 void CLcRegAppStore::CreateDbL( const TFileName& aRegAppInfoFile ) |
147 { |
147 { |
148 // if it is already open then close it. |
148 // if it is already open then close it. |
149 Close(); |
149 Close(); |
150 |
150 |
151 // Create empty database file. |
151 // Create empty database file. |