~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.core/src/com/bdaum/zoom/core/db/IDbListener.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
public interface IDbListener {
24
24
 
 
25
        /*** Closing modi ***/
 
26
        int NORMAL = 0;
 
27
        int SHUTDOWN = 1;
 
28
        int EMERGENCY = 2;
 
29
        int TASKBAR = 3;
 
30
 
25
31
        /**
26
32
         * Signals that a database will be opened
27
33
         * @param filename - database file name
47
53
        /**
48
54
         * Signals that a database had been closed
49
55
         * @param manager - database manager
 
56
         * @param mode - closing mode
50
57
         */
51
 
        void databaseClosed(IDbManager manager);
 
58
        void databaseClosed(IDbManager manager, int mode);
52
59
 
53
60
}