28 lines
680 B
Objective-C
28 lines
680 B
Objective-C
//
|
|
// TSDatabaseView.h
|
|
// TextSecureKit
|
|
//
|
|
// Created by Frederic Jacobs on 17/11/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <YapDatabase/YapDatabaseViewTransaction.h>
|
|
|
|
@interface TSDatabaseView : NSObject
|
|
|
|
extern NSString *TSInboxGroup;
|
|
extern NSString *TSArchiveGroup;
|
|
extern NSString *TSUnreadIncomingMessagesGroup;
|
|
|
|
extern NSString *TSThreadDatabaseViewExtensionName;
|
|
extern NSString *TSMessageDatabaseViewExtensionName;
|
|
extern NSString *TSUnreadDatabaseViewExtensionName;
|
|
|
|
+ (BOOL)registerThreadDatabaseView;
|
|
+ (BOOL)registerBuddyConversationDatabaseView;
|
|
+ (BOOL)registerUnreadDatabaseView;
|
|
|
|
|
|
@end
|