Fix ExplainWindowPlacement when using "NoUSPosition" style.
[fvwm.git] / fvwm / module_interface.h
blob9dc07ef9f7674b21d82276961e9b3ddfc642f8c3
1 /* -*-c-*- */
3 #ifndef FVWM_MODULE_INTERFACE_H
4 #define FVWM_MODULE_INTERFACE_H
6 #include "libs/Module.h"
8 struct fmodule;
9 struct fmodule_input;
11 /* Packet sending functions */
12 void BroadcastPacket(unsigned long event_type, unsigned long num_datum, ...);
13 void BroadcastConfig(unsigned long event_type, const FvwmWindow *t);
14 void BroadcastName(
15 unsigned long event_type, unsigned long data1, unsigned long data2,
16 unsigned long data3, const char *name);
17 void BroadcastWindowIconNames(FvwmWindow *t, Bool window, Bool icon);
18 void BroadcastFvwmPicture(
19 unsigned long event_type, unsigned long data1, unsigned long data2,
20 unsigned long data3, FvwmPicture *picture, char *name);
21 void BroadcastPropertyChange(
22 unsigned long argument, unsigned long data1,
23 unsigned long data2, char *string);
24 void BroadcastColorset(int n);
25 void BroadcastConfigInfoString(char *string);
26 void broadcast_xinerama_state(void);
27 void broadcast_ignore_modifiers(void);
28 void SendPacket(
29 struct fmodule *module, unsigned long event_type,
30 unsigned long num_datum, ...);
31 void SendConfig(
32 struct fmodule *module, unsigned long event_type, const FvwmWindow *t);
33 void SendName(
34 struct fmodule *module, unsigned long event_type, unsigned long data1,
35 unsigned long data2, unsigned long data3, const char *name);
38 /* command queue - module input */
41 void module_input_enqueue(struct fmodule_input *input);
42 void module_input_execute(struct fmodule_input *input);
44 void ExecuteCommandQueue(void);
46 #endif /* MODULE_INTERFACE_H */