Monotone-Parent: b6bfa451e6c9b0d98e28a07e287a81ab8171dc09

Monotone-Revision: 2c8c5a98bffe88fbe33a7c879bc06a01553833bc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-01T18:54:52
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-08-01 18:54:52 +00:00
1 parent 91df5632b7
commit c8567af7f1
2 files changed
+196 -130

No files matched your search

+16 -13
View File
@@ -24,14 +24,19 @@
#import <Foundation/NSObject.h>
#include <NGObjWeb/WOContext.h>
/*
UIxMailRenderingContext
The rendering context is used to track nesting of mail part viewers.
*/
@class NSData, NSArray, NSDictionary;
@class WOContext, WOComponent;
@class NSArray;
@class NSData;
@class NSDictionary;
@class WOComponent;
@interface UIxMailRenderingContext : NSObject
{
@@ -47,31 +52,29 @@
WOComponent *htmlViewer;
}
- (id)initWithViewer:(WOComponent *)_viewer context:(WOContext *)_ctx;
- (id) initWithViewer: (WOComponent *) _viewer
context: (WOContext *) _ctx;
/* state */
- (void)reset;
- (void) reset;
/* fetching */
- (NSDictionary *)flatContents;
- (NSData *)flatContentForPartPath:(NSArray *)_partPath;
- (NSDictionary *) flatContents;
- (NSData *) flatContentForPartPath: (NSArray *) _partPath;
/* viewer components */
- (WOComponent *)viewerForBodyInfo:(id)_info;
- (WOComponent *) viewerForBodyInfo: (id)_info;
@end
#include <NGObjWeb/WOContext.h>
@interface WOContext(UIxMailPart)
- (void)pushMailRenderingContext:(UIxMailRenderingContext *)_mctx;
- (UIxMailRenderingContext *)popMailRenderingContext;
- (UIxMailRenderingContext *)mailRenderingContext;
- (void) pushMailRenderingContext: (UIxMailRenderingContext *) _mctx;
- (UIxMailRenderingContext *) popMailRenderingContext;
- (UIxMailRenderingContext *) mailRenderingContext;
@end