Commit Graph

19 Commits

Author SHA1 Message Date
274697623e Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-06-29 18:41:34 +02:00
ca3faa17a9 Free/busy meeting view doesn't work due to non-working extension 2011-06-29 18:41:08 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
23cbe11a5b Avoid dll hijacking
Load sensapi.dll only from system directory where it should normally
be and not from any random place.
2010-09-13 22:58:24 +02:00
4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
eba9b45f9e Use PVOID instead of gpointer when working with COM+ function pointers 2010-07-27 14:52:37 +02:00
c30d29425e Coding style and whitespace cleanup. 2010-05-01 23:18:28 -04:00
4f848ac255 [win32] Test for eventsys.h and sensevts.h properly 2010-03-31 18:21:10 +02:00
83c22e1531 Reformat code so that it looks ok 2010-03-29 17:19:05 +02:00
e8d27a6f70 [win32] Don't brew your own macro if glib has one suitable available 2010-03-29 17:10:38 +02:00
5162756fb4 [win32] Windows SENS module cannot be built with C++ compiler 2010-03-29 15:30:40 +02:00
f60b04f24e [win32] Some buildability tweaks for Windows SENS module
Don't try to build Windows SENS when not building for Windows.
Extract the relevant COM structs and typedefs from mingw-w64 headers
to allow to build the module with mingw.org toolchain and fix
build breakages with Microsoft compilers.
2010-03-29 12:40:00 +02:00
0a0f417006 [win32] Remove the C++ dependency
Implement the Windows SENS network monitoring in plain C
2010-03-26 21:45:35 +01:00
56daae923f [win32] Converting the Windows SENS from C++ to plain C 2010-03-26 21:45:35 +01:00
7b953918eb [win32] Fix on-the-fly UUID creation and change names of functions
and variables so that they look more like what we do in Evolution
2010-03-25 17:08:46 +01:00
2fabf227bb [win32] Generate UUID on the fly in Windows SENS module 2010-03-25 13:51:07 +01:00
ef1d18b2e3 [win32] Miscellaneous fixes to Windows SENS module
Check actually the return values and bail out if the registration
to receive system events failed.

Reformat the code to be consistent wrt tabs vs. space use.

Extract frequently used patterns into an inline function.
2010-03-25 06:25:13 +01:00
412bfc3dcf [win32] Little modifications to Windows SENS module
Make the MySensNetwork class inherit from ISensNetwork interface
instead of IDispatch (this assures, inter alia, that we use the
right function signatures for the callbacks).

Make the subscription to the network status notification receive
the event only if the ownerof the subscription is logged on to
the same computer as the publisher. This makes this module work
on Windows Vista and Windows 7 with normal user account.
2010-03-24 11:06:51 +01:00
8a8e79622e [win32] Implement network status detection
The implementation is done using System Event Notification Service
by implementing ConnectionMade ConnectionMadeNoQOCInfo and
ConnectionLost methods of ISensNetwork interface.

Introduces C++ dependency for Windows port only
2010-03-23 18:54:37 +01:00