summaryrefslogtreecommitdiff
path: root/tikzit/src/linux/PreviewRenderer.h
diff options
context:
space:
mode:
authorrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-10 18:27:19 +0000
committerrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-10 18:27:19 +0000
commit924aad8f38e277547b104977dd48ef2be7c702f8 (patch)
treeb7c731f461c3dcad3ea87b79e8e916a8387c7dfa /tikzit/src/linux/PreviewRenderer.h
parente77f7c4f027d9fefb609bef3c97df9b8ff0c2a31 (diff)
GTK: Allow the path to pdflatex to be configured
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@377 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/linux/PreviewRenderer.h')
-rw-r--r--tikzit/src/linux/PreviewRenderer.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/tikzit/src/linux/PreviewRenderer.h b/tikzit/src/linux/PreviewRenderer.h
index da617b3..d691722 100644
--- a/tikzit/src/linux/PreviewRenderer.h
+++ b/tikzit/src/linux/PreviewRenderer.h
@@ -17,31 +17,32 @@
#import "TZFoundation.h"
#import <poppler.h>
-#import "Preambles.h"
+
#import "Surface.h"
-#import "TikzDocument.h"
+
+@class Configuration;
+@class Preambles;
+@class TikzDocument;
@interface PreviewRenderer: NSObject<RenderDelegate> {
+ Configuration *config;
Preambles *preambles;
TikzDocument *document;
PopplerDocument *pdfDocument;
PopplerPage *pdfPage;
}
-- (id) initWithPreambles:(Preambles*)p;
+@property (readonly) Preambles *preambles;
+@property (retain) TikzDocument *document;
+@property (readonly) double height;
+@property (readonly) double width;
+
+- (id) initWithPreambles:(Preambles*)p config:(Configuration*)c;
- (BOOL) updateWithError:(NSError**)error;
- (BOOL) update;
- (BOOL) isValid;
-- (Preambles*) preambles;
-
-- (TikzDocument*) document;
-- (void) setDocument:(TikzDocument*)doc;
-
-- (double) width;
-- (double) height;
-
@end
// vim:ft=objc:ts=8:et:sts=4:sw=4