~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/database/databaseaccess.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    /**
73
73
      * Retrieve a pointer to the album database
74
74
      */
75
 
    AlbumDB *db() const;
 
75
    AlbumDB* db() const;
76
76
 
77
77
    /**
78
78
      * Retrieve a pointer to the database backend
79
79
      */
80
 
    DatabaseBackend *backend() const;
 
80
    DatabaseBackend* backend() const;
81
81
 
82
82
    /**
83
83
      * Returns the error message for the last error that occurred,
114
114
      * If the parameters were not changed, this method has no effect.
115
115
      * @returns if the database is ready for use
116
116
      */
117
 
    static bool checkReadyForUse(InitializationObserver *observer = 0);
 
117
    static bool checkReadyForUse(InitializationObserver* observer = 0);
118
118
 
119
119
    /**
120
120
      * Clean up the database access.
126
126
    /**
127
127
      * Return the ImageInfoCache. This object is not for public use outside libs/database/
128
128
      */
129
 
    ImageInfoCache *imageInfoCache() const;
 
129
    ImageInfoCache* imageInfoCache() const;
130
130
 
131
131
    /**
132
132
      * Return the DatabaseWatch.
133
133
      */
134
 
    static DatabaseWatch *databaseWatch();
135
 
 
136
 
 
137
 
    static void initDatabaseErrorHandler(DatabaseErrorHandler *errorhandler);
 
134
    static DatabaseWatch* databaseWatch();
 
135
 
 
136
 
 
137
    static void initDatabaseErrorHandler(DatabaseErrorHandler* errorhandler);
138
138
    /**
139
139
      * Set the "last error" message. This method is not for public use.
140
140
      */
162
162
     *  DatabaseAccess.
163
163
     */
164
164
    DatabaseAccessUnlock();
165
 
    DatabaseAccessUnlock(DatabaseAccess *access);
 
165
    DatabaseAccessUnlock(DatabaseAccess* access);
166
166
    ~DatabaseAccessUnlock();
167
167
 
168
168
private: