pppoe client for mac osx, both for Ethernet and IEEE80211(airport) If local type(you chose Ethernet or Airport before) pppoe is exsit, the app just call it; If not, the app create it with your choose type(Ethernet or Airport)
- The application icon
- The application updates
- Application background
- Internationalization
- The program logic section
- The post-maintenance
- Development environment
- About quit-action Update
PPPoEClient.icns, you can diy it yourself。 128 × 128 pixels
I write it in pppoeGUI.
const NSString *curl=@"http://dev.cppfun.com/pppoe.txt";
const int ccurrVesion=1;
- (void)checkUpdate:(const NSString *)url version:(int)currVesion;
I put it in the position after the success pppoe connection for backend asynchronous checks note: // osx can make the app with 32bit and 64bit together // so we do need the Ostype request field on osx // http://dev.cppfun.com/pppoe.txt?CurrVersion=1 I just implement it by response a simple string
// here do some update check
[self checkUpdate:curl version:ccurrVesion];
background.jpg Do not change the name and type. Image Size:465 × 329 pixels You can replace the image to modify the application background.
both English and Chinese Localizable.strings includes chinese and english Note that the inside of the format (with a semicolon):
"updateLabel" = "A new version find.";
"updateLabel" = "发现一个新版本.";
cocoa model.
I do.
- OSX Version 10.11.1 (15B42) 64-bit;
- xcode Version 7.2 (7C68);
just update pppoeGUI.m - (IBAction)qButtonAction:(id)sender;
- (IBAction)qButtonAction:(id)sender {
// update for cancel begin
if (queue) [queue cancelAllOperations];
if (tStatus == kDisconnectTitle || tStatus == kCancelTitle) {
[self addOperation:kPPPDisconnect];
}
// update for cancel endl
[[NSApplication sharedApplication] terminate:sender];
}
MIT