/usr/include/snapd-qt/Snapd/snap.h is in libsnapd-qt-dev 1.39-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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | /*
* Copyright (C) 2016 Canonical Ltd.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2 or version 3 of the License.
* See http://www.gnu.org/copyleft/lgpl.html the full text of the license.
*/
#ifndef SNAPD_SNAP_H
#define SNAPD_SNAP_H
#include <QtCore/QObject>
#include <QtCore/QDate>
#include <Snapd/WrappedObject>
#include <Snapd/Enums>
#include <Snapd/App>
#include <Snapd/Channel>
#include <Snapd/Price>
#include <Snapd/Screenshot>
class Q_DECL_EXPORT QSnapdSnap : public QSnapdWrappedObject
{
Q_OBJECT
Q_PROPERTY(int appCount READ appCount)
Q_PROPERTY(QString broken READ broken)
Q_PROPERTY(QString channel READ channel)
Q_PROPERTY(int channelCount READ channelCount)
Q_PROPERTY(QSnapdEnums::SnapConfinement confinement READ confinement)
Q_PROPERTY(QString contact READ contact)
Q_PROPERTY(QString description READ description)
Q_PROPERTY(QString developer READ developer)
Q_PROPERTY(bool devmode READ devmode)
Q_PROPERTY(qint64 downloadSize READ downloadSize)
Q_PROPERTY(QString icon READ icon)
Q_PROPERTY(QString id READ id)
Q_PROPERTY(QDateTime installDate READ installDate)
Q_PROPERTY(qint64 installedSize READ installedSize)
Q_PROPERTY(bool jailmode READ jailmode)
Q_PROPERTY(QString license READ license)
Q_PROPERTY(QString name READ name)
Q_PROPERTY(int priceCount READ priceCount)
Q_PROPERTY(bool isPrivate READ isPrivate)
Q_PROPERTY(QString revision READ revision)
Q_PROPERTY(QSnapdEnums::SnapType snapType READ snapType)
Q_PROPERTY(QSnapdEnums::SnapStatus status READ status)
Q_PROPERTY(QString summary READ summary)
Q_PROPERTY(QString title READ title)
Q_PROPERTY(QString trackingChannel READ trackingChannel)
Q_PROPERTY(QStringList tracks READ tracks)
Q_PROPERTY(bool trymode READ trymode)
Q_PROPERTY(QString version READ version)
public:
explicit QSnapdSnap (void* snapd_object, QObject* parent = 0);
int appCount () const;
Q_INVOKABLE QSnapdApp *app (int) const;
QString broken () const;
QString channel () const;
int channelCount () const;
Q_INVOKABLE QSnapdChannel *channel (int) const;
Q_INVOKABLE QSnapdChannel *matchChannel (const QString&) const;
QSnapdEnums::SnapConfinement confinement () const;
QString contact () const;
QString description () const;
QString developer () const;
bool devmode () const;
qint64 downloadSize () const;
QString icon () const;
QString id () const;
QDateTime installDate () const;
qint64 installedSize () const;
bool jailmode () const;
QString license () const;
QString name () const;
int priceCount () const;
Q_INVOKABLE QSnapdPrice *price (int) const;
bool isPrivate () const;
QString revision () const;
int screenshotCount () const;
Q_INVOKABLE QSnapdScreenshot *screenshot (int) const;
QSnapdEnums::SnapType snapType () const;
QSnapdEnums::SnapStatus status () const;
QString summary () const;
QString title () const;
QString trackingChannel () const;
QStringList tracks () const;
bool trymode () const;
QString version () const;
};
#endif
|