/usr/share/idl/sanduhr.idl is in sanduhr 1.93-4.
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 | #include <Bonobo_GenericFactory.idl>
module SandUhr {
interface Timer;
interface AlarmAction {
exception DeliveryFailed {
string Reason;
};
readonly attribute boolean NeedsPopup;
void Attach (in Timer T);
void Detach (in Timer T);
void Deliver (in string TimeSpec, in string Message)
raises (DeliveryFailed);
};
interface AlarmBeep: AlarmAction {
attribute unsigned short Count;
};
interface AlarmSound: AlarmAction {
attribute string SoundFile;
};
interface AlarmCommand: AlarmAction {
attribute string CommandString;
};
interface Timer {
exception NotRunning { };
enum TimerState { TSPrepare, TSRunning, TSDone };
readonly attribute TimerState State;
attribute string TimeSpec;
attribute string Message;
attribute AlarmAction Alarm;
struct Color {
unsigned short Red, Green, Blue;
};
attribute Color SandColor;
attribute boolean WindowDecorations;
enum Layer { LayerDesktop, LayerBelow, LayerNormal, LayerOntop };
attribute Layer WindowLayer;
void Destroy ();
unsigned long TimeLeft () raises (NotRunning);
};
interface TimerFactory: Bonobo::GenericFactory {
exception InvalidTime { };
AlarmBeep CreateAlarmBeep (in unsigned short Count);
AlarmSound CreateAlarmSound (in string SoundFile);
AlarmCommand CreateAlarmCommand (in string CommandString);
Timer CreateTimer (in string TimeSpec, in string Message)
raises (InvalidTime);
typedef sequence<Timer> TimerVec;
readonly attribute TimerVec Timers;
void ShowControl (in boolean Show);
};
};
|