[poppler] poppler/qt4/src: poppler-link.h,1.2,1.3

Albert Astals Cid aacid at kemper.freedesktop.org
Sat May 13 04:14:26 PDT 2006


Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv25109

Modified Files:
	poppler-link.h 
Log Message:
numbers for easier casting


Index: poppler-link.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-link.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- poppler-link.h	12 May 2006 20:40:05 -0000	1.2
+++ poppler-link.h	13 May 2006 11:14:24 -0000	1.3
@@ -150,8 +150,18 @@
 {
 	public:
 		// define types of actions
-		enum ActionType { PageFirst, PagePrev, PageNext, PageLast, HistoryBack, HistoryForward,
-		                  Quit, Presentation, EndPresentation, Find, GoToPage, Close };
+		enum ActionType { PageFirst = 1,
+		                  PagePrev = 2,
+		                  PageNext = 3,
+		                  PageLast = 4,
+		                  HistoryBack = 5,
+		                  HistoryForward = 6,
+		                  Quit = 7,
+		                  Presentation = 8,
+		                  EndPresentation = 9,
+		                  Find = 10,
+		                  GoToPage = 11,
+		                  Close = 12 };
 
 		// query for action type
 		ActionType actionType() const;



More information about the poppler mailing list