From f4cf6413f26381ddf26d8b2f792c621f7bee04c9 Mon Sep 17 00:00:00 2001 From: Nathaniel Madura Date: Thu, 18 Apr 2013 13:39:06 -0400 Subject: [PATCH] MPDatabaseVersion in own header moved MPDatabaseVersion out to its own header and then added references in other header files where appropriate. --- MacPass/MPDatabaseController.h | 1 + MacPass/MPDatabaseDocument.h | 1 + MacPass/MPDatabaseVersion.h | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 MacPass/MPDatabaseVersion.h diff --git a/MacPass/MPDatabaseController.h b/MacPass/MPDatabaseController.h index 21bf3e83..6a2d1a48 100644 --- a/MacPass/MPDatabaseController.h +++ b/MacPass/MPDatabaseController.h @@ -7,6 +7,7 @@ // #import +#import "MPDatabaseVersion.h" /* Notification is posted, when a database is loaded diff --git a/MacPass/MPDatabaseDocument.h b/MacPass/MPDatabaseDocument.h index 718f2ead..ba17c268 100644 --- a/MacPass/MPDatabaseDocument.h +++ b/MacPass/MPDatabaseDocument.h @@ -7,6 +7,7 @@ // #import +#import "MPDatabaseVersion.h" APPKIT_EXTERN NSString *const MPDidLoadDatabaseNotification; APPKIT_EXTERN NSString *const MPDatabaseDocumentDocumentKey; diff --git a/MacPass/MPDatabaseVersion.h b/MacPass/MPDatabaseVersion.h new file mode 100644 index 00000000..d4d087b5 --- /dev/null +++ b/MacPass/MPDatabaseVersion.h @@ -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