Created
September 1, 2012 20:04
-
-
Save mrsidique/3585662 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| m_BGAPI_SuccessfulInit = m_BGAPI.Initialize(); | |
| if(true == m_BGAPI_SuccessfulInit) | |
| { | |
| m_BGAPI.SetListener(&m_MyAPIListener); | |
| //m_MyAPIListener.m_pBGAPI = &m_BGAPI; | |
| NSArray *documentDirectories = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); | |
| NSString *documentDirectory = [documentDirectories objectAtIndex:0]; | |
| m_BGAPI.SetDocumentOutputPath( [documentDirectory UTF8String] ); | |
| bool sensorAndClubLoaded = [self LoadClubAndSensorDataFromFile]; | |
| if( true == sensorAndClubLoaded ) | |
| { | |
| NSLog(@"BLGolfSwingAPI Init : SUCCESS\n"); | |
| } | |
| else | |
| { | |
| NSLog(@"BLGolfSwingAPI Init : FAILED\n"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment