/usr/share/doc/libxplc0.3.13-dev/examples/simple-module/module.cpp is in libxplc0.3.13-dev 0.3.13-3ubuntu1.
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 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* This file is example code for XPLC (http://xplc.sourceforge.net/),
* and is put into the public domain.
*/
#include <xplc/module.h>
#include "module.h"
/* This is the list of UUIDs that this module can provide objects for,
* along with a pointer to the function that will provide it. This *
* example has only one component, but there is no restriction on how
* many components can a single module have (you do not have to put
* one component per module).
*/
static const XPLC_ComponentEntry components[] = {
{ SimpleComponent_CID, &getSimpleComponent },
{ UUID_null, 0 }
};
const XPLC_ModuleInfo XPLC_Module = {
XPLC_MODULE_MAGIC,
XPLC_MODULE_VERSION_MAJOR,
XPLC_MODULE_VERSION_MINOR,
"Simple Example Module",
components,
0
};
|