/usr/include/unity-2d-private/desktopinfo.h is in libunity-2d-private-dev 5.10.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #ifndef DESKTOPINFO_H
#define DESKTOPINFO_H
#include <QObject>
#include <QRect>
#include "workspacesinfo.h"
typedef void* gpointer;
typedef struct _WnckScreen WnckScreen;
typedef struct _WnckWindow WnckWindow;
class DesktopInfo : public QObject
{
Q_OBJECT
Q_PROPERTY(WorkspacesInfo *workspaces READ workspaces NOTIFY workspacesChanged)
Q_PROPERTY(bool isCompositingManagerRunning READ isCompositingManagerRunning
NOTIFY isCompositingManagerRunningChanged)
public:
static DesktopInfo* instance();
/* Getters */
WorkspacesInfo *workspaces() { return &m_workspacesInfo; }
bool isCompositingManagerRunning() const;
Q_SIGNALS:
void workspacesChanged(WorkspacesInfo *workspaces);
void isCompositingManagerRunningChanged(bool);
private:
explicit DesktopInfo(QObject *parent = 0);
private:
WorkspacesInfo m_workspacesInfo;
};
#endif // DESKTOPINFO_H
|