00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef __ktexteditor_viewstatusmsginterface_h__
00020
#define __ktexteditor_viewstatusmsginterface_h__
00021
00022
#include <kdelibs_export.h>
00023
00024
class QString;
00025
class QCString;
00026
00027
namespace KTextEditor
00028 {
00029
00033 class KTEXTEDITOR_EXPORT ViewStatusMsgInterface
00034 {
00035
friend class PrivateViewStatusMsgInterface;
00036
00037
public:
00038 ViewStatusMsgInterface();
00039
virtual ~ViewStatusMsgInterface();
00040
00041
unsigned int viewStatusMsgInterfaceNumber ()
const;
00042
00043
protected:
00044
void setViewStatusMsgInterfaceDCOPSuffix (
const QCString &suffix);
00045
00046
00047
00048
00049
public:
00050
virtual void viewStatusMsg (
const class QString &msg) = 0;
00051
00052
00053
private:
00054
class PrivateViewStatusMsgInterface *d;
00055
static unsigned int globalViewStatusMsgInterfaceNumber;
00056
unsigned int myViewStatusMsgInterfaceNumber;
00057 };
00058
00059 KTEXTEDITOR_EXPORT ViewStatusMsgInterface *viewStatusMsgInterface (
class View *view);
00060
00061 }
00062
00063
#endif