2 // ESSIPELibpurpleServicePlugin.m
5 // Created by Matt Meissner on 10/30/09.
6 // Modified by Michael Lamb on 2/27/13
7 // Copyright 2013 Michael Lamb/Harris Kauffman. All rights reserved.
10 #import <libpurple/debug.h>
11 #import "ESSIPEService.h"
12 #import "ESSIPELibpurpleServicePlugin.h"
15 extern BOOL AIDebugLoggingIsEnabled();
16 extern void purple_init_sipe_plugin(void);
17 extern void purple_debug_set_enabled(gboolean);
19 @implementation ESSIPELibpurpleServicePlugin
21 # pragma mark Plugin Load/Install
22 - (void)installLibpurplePlugin {
25 - (void)loadLibpurplePlugin
27 purple_init_sipe_plugin();
29 if(AIDebugLoggingIsEnabled()) {
30 purple_debug_set_enabled(true);
31 purple_debug_set_verbose(true);
38 [super installPlugin];
40 [ESSIPEService registerService];
45 [ESSIPEService release];
49 #pragma mark Plugin Metadata
50 - (NSString *)libpurplePluginPath
52 return [[NSBundle bundleForClass:[self class]] resourcePath];
55 - (NSString*) pluginAuthor {
56 return @"Harris Kauffman, Michael Lamb";
59 - (NSString*) pluginVersion {
60 return @PACKAGE_VERSION;
63 - (NSString*) pluginDescription {
64 return @"Allows Adium to connect to Office Communicator accounts";
67 - (NSString*) pluginWebsite {