2004-10-12 11:08:09 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2004 by Albert Astals Cid <tsdgeos@terra.es> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
2005-06-13 17:39:58 +00:00
|
|
|
#ifndef _KPDF_DCOP_INTERFACE_H_
|
|
|
|
#define _KPDF_DCOP_INTERFACE_H_
|
2004-10-12 11:08:09 +00:00
|
|
|
|
|
|
|
#include <dcopobject.h>
|
|
|
|
#include <kurl.h>
|
|
|
|
|
2005-10-17 19:20:32 +00:00
|
|
|
class okular_dcop : virtual public DCOPObject
|
2004-10-12 11:08:09 +00:00
|
|
|
{
|
2005-06-13 17:39:58 +00:00
|
|
|
K_DCOP
|
|
|
|
k_dcop:
|
|
|
|
virtual ASYNC goToPage( uint page ) = 0;
|
2006-03-24 21:31:46 +00:00
|
|
|
virtual ASYNC openDocument( KUrl doc ) = 0;
|
2005-06-13 17:39:58 +00:00
|
|
|
virtual uint pages() = 0;
|
|
|
|
virtual uint currentPage() = 0;
|
2006-03-24 21:31:46 +00:00
|
|
|
virtual KUrl currentDocument() = 0;
|
2005-06-13 17:39:58 +00:00
|
|
|
virtual void slotPreferences() = 0;
|
|
|
|
virtual void slotFind() = 0;
|
|
|
|
virtual void slotPrintPreview() = 0;
|
|
|
|
virtual void slotPreviousPage() = 0;
|
|
|
|
virtual void slotNextPage() = 0;
|
|
|
|
virtual void slotGotoFirst() = 0;
|
|
|
|
virtual void slotGotoLast() = 0;
|
2004-10-12 11:08:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|