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 <ESDebugAILog.h>
11 #import <libpurple/debug.h>
12 #import "ESSIPEService.h"
13 #import "ESSIPELibpurpleServicePlugin.h"
16 extern void purple_init_sipe_plugin(void);
18 @implementation ESSIPELibpurpleServicePlugin
20 # pragma mark Plugin Load/Install
21 - (void)installLibpurplePlugin {
24 - (void)loadLibpurplePlugin
26 if(AIDebugLoggingIsEnabled()) {
27 purple_debug_set_enabled(true);
28 purple_debug_set_verbose(true);
35 purple_init_sipe_plugin();
36 [ESSIPEService registerService];
41 [ESSIPEService release];
45 #pragma mark Plugin Metadata
46 - (NSString *)libpurplePluginPath
48 return [[NSBundle bundleForClass:[self class]] resourcePath];
51 - (NSString*) pluginAuthor {
52 return @"Harris Kauffman, Michael Lamb";
55 - (NSString*) pluginVersion {
56 return @PACKAGE_VERSION;
59 - (NSString*) pluginDescription {
60 return @"Allows Adium to connect to Office Communicator accounts";
63 - (NSString*) pluginWebsite {