mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 10:32:26 +00:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
17
MacPass/MPDatabaseVersion.h
Normal file
17
MacPass/MPDatabaseVersion.h
Normal 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
|
||||||
Reference in New Issue
Block a user