/usr/include/x86_64-linux-gnu/alljoyn/AboutIconObj.h is in liballjoyn-dev-1604 16.04a+dfsg.1-2.
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 | /**
* @file
* An Alljoyn BusObject that implements the org.alljoyn.Icon interface
*/
/******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************************/
#ifndef _ALLJOYN_ABOUTICONOBJ_H
#define _ALLJOYN_ABOUTICONOBJ_H
#include <alljoyn/AboutIcon.h>
#include <alljoyn/BusObject.h>
namespace ajn {
/**
* AboutIconObj is an AllJoyn BusObject that implements the org.alljoyn.Icon standard interface.
* Applications that provide AllJoyn IoE services to receive info about the Icon of the service.
*/
class AboutIconObj : public BusObject {
public:
/**
* version of the org.alljoyn.Icon interface
*/
static const uint16_t VERSION;
/**
* Construct an About Icon BusObject.
*
* @param[in] bus BusAttachment instance associated with this BusObject
* @param[in] icon instance of an AboutIcon which holds the icon image
*/
AboutIconObj(BusAttachment& bus, AboutIcon& icon);
/**
* Destructor of the About Icon BusObject
*/
virtual ~AboutIconObj();
private:
/**
* Handles GetUrl method call for the org.alljoyn.Icon interface
*
* @param[in] member
* @param[in] msg reference of AllJoyn Message
*/
void GetUrl(const InterfaceDescription::Member* member, Message& msg);
/**
* Handles GetContent method call for the org.alljoyn.Icon interface
*
* @param[in] member
* @param[in] msg reference of AllJoyn Message
*/
void GetContent(const InterfaceDescription::Member* member, Message& msg);
/**
* Handles the GetPropery request for the org.alljoyn.Icon interface
*
* @param[in] ifcName interface name
* @param[in] propName the name of the properly
* @param[in] val reference of MsgArg out parameter.
* @return
*/
QStatus Get(const char* ifcName, const char* propName, MsgArg& val);
/**
* pointer to BusAttachment
*/
BusAttachment* m_busAttachment;
/**
* pointer to AboutIcon
*/
AboutIcon* m_icon;
};
}
#endif /* _ALLJOYN_ABOUTICONOBJ_H */
|