mirror of
https://github.com/MacDownApp/macdown.git
synced 2026-05-17 12:40:37 +00:00
5d4ac594e8
So they can be accessed from MPToolbarController
23 lines
480 B
Objective-C
23 lines
480 B
Objective-C
//
|
|
// MPDocument.h
|
|
// MacDown
|
|
//
|
|
// Created by Tzu-ping Chung on 6/06/2014.
|
|
// Copyright (c) 2014 Tzu-ping Chung . All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
@class MPPreferences;
|
|
|
|
|
|
@interface MPDocument : NSDocument
|
|
|
|
@property (nonatomic, readonly) MPPreferences *preferences;
|
|
@property (readonly) BOOL previewVisible;
|
|
@property (readonly) BOOL editorVisible;
|
|
|
|
@property (nonatomic, readwrite) NSString *markdown;
|
|
@property (nonatomic, readonly) NSString *html;
|
|
|
|
@end
|