MPDatabaseVersion in own header

moved MPDatabaseVersion out to its own header and then added references
in other header files where appropriate.
This commit is contained in:
Nathaniel Madura
2013-04-18 13:39:06 -04:00
parent f1b7e755f2
commit f4cf6413f2
3 changed files with 19 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
// //
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import "MPDatabaseVersion.h"
/* /*
Notification is posted, when a database is loaded Notification is posted, when a database is loaded

View File

@@ -7,6 +7,7 @@
// //
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import "MPDatabaseVersion.h"
APPKIT_EXTERN NSString *const MPDidLoadDatabaseNotification; APPKIT_EXTERN NSString *const MPDidLoadDatabaseNotification;
APPKIT_EXTERN NSString *const MPDatabaseDocumentDocumentKey; APPKIT_EXTERN NSString *const MPDatabaseDocumentDocumentKey;

View File

@@ -0,0 +1,17 @@
//
// MPDatabaseVersion.h
// MacPass
//
// Created by Nathaniel Madura on 18/04/13.
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#ifndef MacPass_MPDatabaseVersion_h
#define MacPass_MPDatabaseVersion_h
typedef enum {
MPDatabaseVersion3,
MPDatabaseVersion4
} MPDatabaseVersion;
#endif