| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
This is the direction I'm going now (which doesn't work):
#import <Foundation/Foundation.h> #import <SystemConfiguration/SystemConfiguration.h>
void sc_callback(SCPreferencesRef prefs,
SCPreferencesNotification notificationType,
void *info)
{
NSLog(@"callback called!");
}int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
SCPreferencesRef scpref = NULL;
SCPreferencesContext prefcontext;
CFRunLoopRef rlref = NULL;bzero(&prefcontext,sizeof(SCPreferencesContext));
rlref = [[NSRunLoop currentRunLoop] getCFRunLoop];
if (scpref != NULL)
{
CFRelease(scpref);
scpref = NULL;
} [pool release];
return 0;
}Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.