make sure retval is not used uninitialized
[AROS-Contrib.git] / vpdf / mcc / documentview_class.h
blob8fcfb0c3ab60c541f212ecc569c055a3eadc1b7c
2 #ifndef DOCUMENTVIEW_MCC_CLASS_H
3 #define DOCUMENTVIEW_MCC_CLASS_H
5 #include "system/chunky.h"
6 #include "classes.h"
9 #define MUIA_DocumentView_FileName ( MUIA_DocumentView_TagBase + 1 )
10 #define MUIA_DocumentView_Page ( MUIA_DocumentView_TagBase + 2 )
11 #define MUIA_DocumentView_Renderer ( MUIA_DocumentView_TagBase + 3 )
12 #define MUIA_DocumentView_PDFDocument ( MUIA_DocumentView_TagBase + 4 )
13 #define MUIA_DocumentView_Layout ( MUIA_DocumentView_TagBase + 5 )
14 #define MUIA_DocumentView_RenderPriority ( MUIA_DocumentView_TagBase + 6 )
15 #define MUIA_DocumentView_Outline ( MUIA_DocumentView_TagBase + 7 )
16 #define MUIA_DocumentView_DragAction ( MUIA_DocumentView_TagBase + 8 )
18 #define MUIM_DocumentView_Render ( MUIM_DocumentView_Dummy + 1 )
19 #define MUIM_DocumentView_EnqueueRender ( MUIM_DocumentView_Dummy + 2 )
20 #define MUIM_DocumentView_SetupPageViewImage ( MUIM_DocumentView_Dummy + 3 )
21 #define MUIM_DocumentView_FindViewForPage ( MUIM_DocumentView_Dummy + 5 )
22 #define MUIM_DocumentView_Layout ( MUIM_DocumentView_Dummy + 4 )
23 #define MUIM_DocumentView_RotateRight ( MUIM_DocumentView_Dummy + 6 )
24 #define MUIM_DocumentView_RotateLeft ( MUIM_DocumentView_Dummy + 7 )
25 #define MUIM_DocumentView_UpdateAnnotations (MUIM_DocumentView_Dummy + 8 )
26 #define MUIM_DocumentView_ClearSelection ( MUIM_DocumentView_Dummy + 9 )
27 #define MUIM_DocumentView_SelectionCopy ( MUIM_DocumentView_Dummy + 10)
29 #if defined(__AROS__)
30 #define DocumentViewObject BOOPSIOBJMACRO_START( getDocumentViewClass() )
31 #else
32 #define DocumentViewObject NewObject( getDocumentViewClass() , NULL
33 #endif
35 struct MUIP_DocumentView_Render{ULONG MethodID;};
36 struct MUIP_DocumentView_EnqueueRender{ULONG MethodID; LONG page;};
37 struct MUIP_DocumentView_SetupPageViewImage{ULONG MethodID; APTR pageview; APTR image;};
38 struct MUIP_DocumentView_Layout{ULONG MethodID; LONG layout;};
39 struct MUIP_DocumentView_FindViewForPage{ULONG MethodID; LONG page;};
40 struct MUIP_DocumentView_RotateRight{ULONG MethodID;};
41 struct MUIP_DocumentView_RotateLeft{ULONG MethodID;};
42 struct MUIP_DocumentView_ClearSelection{ULONG MethodID;};
43 struct MUIP_DocumentView_UpdateAnnotations{ULONG MethodID; int page;};
44 struct MUIP_DocumentView_SelectionCopy{ULONG MethodID;};
46 #define MUIV_DocumentView_Layout_Single 0
47 #define MUIV_DocumentView_Layout_ContinuousSingle 1
48 #define MUIV_DocumentView_Layout_Facing 2
49 #define MUIV_DocumentView_Layout_ContinuousFacing 3
51 #define MUIV_DocumentView_DragAction_Scroll 0
52 #define MUIV_DocumentView_DragAction_Mark 1
55 DEFCLASS(DocumentView);
57 #endif