repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSWifiConfig.h
// // LSWifiConfig.h // LSWifiConfig // // Created by 陈俊铭 on 16/3/9. // Copyright © 2016年 陈俊铭. All rights reserved. // #include <UIKit/UIKit.h> @class LSWifiConfig; //extern void handler_WifiConfig_callback(void *object, int errCode); /** * WifiConfig错误代码 */ typedef NS_ENUM(NSInteger, LSWifiConfigCode) { ...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManager+Sleep.h
<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManager+Sleep.h // // LSDeviceManager+Sleep.h // LSDeviceManagerFrameworkTests // // Created by alex.wu on 2019/9/9. // Copyright © 2019 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "LSDeviceManager.h" NS_ASSUME_...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/ScalesReceiveDataDelegate.h
// // ScalesReceiveDataDelegate.h // LSDeviceManagerFrameworkTests // // Created by wm on 2020/9/17. // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "WeightData.h" NS_ASSUME_NONNULL_BEGIN @protocol ScalesReceiveDataDelegate <NSObject> /// 接收体重数据 /// @param weightDat...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSEAutomaticSportstypeCfg.h
<gh_stars>0 // // LSEAutomaticSportstypeCfg.h // LSWearable // // Created by 郭景煊 on 17/1/12. // Copyright © 2017年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> //Push自动识别多运类型 typedef NS_ENUM(NSUInteger,LSEAutomaticSportstype) { /** * 跑步 */ LSEAutomaticSportstypeRunning = 1...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDGpsStatus.h
// // LSDGpsStatus.h // LSBluetooth-Library // // Created by lifesense on 17/2/24. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" @interface LSDGpsStatus : LSDBaseModel /** * 开关状态 */ @property (nonatomic,assign) BOOL isOpen; @end
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManagerInfoDataSource.h
// // LSDeviceManagerInfoDataSource.h // LSDeviceManagerFramework // // Created by <NAME> on 2017/9/12. // Copyright © 2017年 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> /** dataSource的方法会在不同线程同时调用,请实现方确保线程安全 */ @protocol LSDeviceManagerInfoDataSource <NSObject> @required /** App上所登陆过的所有...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUUnitSettingData.h
<filename>LZUISDK/SDK/LSBluetooth.framework/Headers/LSUUnitSettingData.h // // LSUUnitSettingData.h // LSBluetooth-Library // // Created by lshenrong on 17/3/2. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" #import "LSConst.h" @interface LSUUnitSettingData : LSUBaseModel /** 单位类...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/WeatherData.h
<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/WeatherData.h // // WeatherData.h // LSWearable // // Created by 郭景煊 on 17/1/11. // Copyright © 2017年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> @interface WeatherData : NSObject @end
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManager+Steps.h
<gh_stars>0 // // LSDeviceManager+Steps.h // LSDeviceManagerFrameworkTests // // Created by alex.wu on 2019/9/10. // Copyright © 2019 <NAME>. All rights reserved. // #import "LSDeviceManager.h" NS_ASSUME_NONNULL_BEGIN @interface LSDeviceManager (Steps)<LSBleDataReceiveDelegate > @end NS_ASSUME_NONNULL_END
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/RunningCaloriesData.h
// // RunningCaloriesData.h // LSWearable // // Created by lifesense-mac on 16/8/25. // Copyright © 2016年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> #import "BraceletReceiveData.h" #import "LSDMConstants.h" /** * 跑步卡路里 */ @interface RunningCaloriesData : BraceletReceiveData /// 卡路里数据...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUTestDataModel.h
<reponame>leshiguang/LZUISDK // // LSUTestDataModel.h // LSBluetooth-Library // // Created by lifesense-mac on 16/12/5. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" /** 用于调试设备采集数据,无太多作用 */ @interface LSUTestDataModel : LSUBaseModel @property(nonatomic, strong) NSData* uploa...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/DeviceStatus+CoreDataClass.h
<gh_stars>0 // // DeviceStatus+CoreDataClass.h // LSWearable // // Created by hanfeng.li on 2017/3/29. // Copyright © 2017年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> NS_ASSUME_NONNULL_BEGIN @interface DeviceStatus : NSManagedObject @end NS_ASSUME_NONNULL...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSEManufacturerInfo.h
// // LSEManufacturerInfo.h // LSWearable // // Created by lshenrong on 17/3/13. // Copyright © 2017年 lifesense. All rights reserved. // 心率预警设置 #import <Foundation/Foundation.h> @interface LSEManufacturerInfo : NSObject /** 厂商id*/ @property (nonatomic ,strong) NSString *manufacturerId; /** 厂商名称*/ @property (nona...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/DeviceUnitCfg.h
// // DeviceUnitCfg.h // LSBluetooth-Library // // Created by Dylan on 16/1/21. // Copyright © 2016年 Lifesense. All rights reserved. // #import <Foundation/Foundation.h> @interface DeviceUnitCfg : NSObject @property(nonatomic,assign)int unit; @end
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUWalkingData.h
<reponame>leshiguang/LZUISDK // // LSUWalkingData.h // LSBluetooth-Library // // Created by lifesense on 17/1/6. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" #import "LSConst.h" @interface LSSwalkingFreqInfo : NSObject /** * 健走状态对应时间UTC */ @property (nonatomic, assign) long ...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/AlarmData+CoreDataClass.h
// // AlarmData+CoreDataClass.h // LSWearable // // Created by hanfeng.li on 2017/3/29. // Copyright © 2017年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> NS_ASSUME_NONNULL_BEGIN @interface AlarmData : NSManagedObject @end NS_ASSUME_NONNULL_END #import "Ala...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManagerFramework.h
<reponame>leshiguang/LZUISDK<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSDeviceManagerFramework.h // // LSDeviceManagerFramework.h // LSDeviceManagerFramework // // Created by <NAME> on 2017/9/12. // Copyright © 2017年 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project versio...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/HMSplashesCfg.h
<reponame>leshiguang/LZUISDK<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/HMSplashesCfg.h<gh_stars>0 // // HMSplashesCfg.h // LSDeviceManagerFrameworkTests // // Created by pengpeng on 2019/8/9. // Copyright © 2019 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONN...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDLoginRespModel.h
<gh_stars>0 // // LSDLoginRespModel.h // LSBluetooth-Library // // Created by lifesense-mac on 17/3/2. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" @interface LSDLoginRespModel : LSDBaseModel // 登陆是否成功 @property (nonatomic, assign) BOOL loginSuccess; // 校验码, 6个字节 @property (n...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUSleepData.h
<filename>LZUISDK/SDK/LSBluetooth.framework/Headers/LSUSleepData.h // // LSUSleepData.h // LSBluetooth-Library // // Created by lifesense on 16/1/17. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" @interface LSUSleepData : LSUBaseModel @property (nonatomic, assign) long long utc;...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/SedentaryCfg.h
<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/SedentaryCfg.h // // SedentaryCfg.h // LSBluetooth-Library // // Created by Dylan on 16/1/16. // Copyright © 2016年 Lifesense. All rights reserved. // 久坐提醒 #import <Foundation/Foundation.h> @interface SedentaryCfg : NSObject /// 是否打开闹钟 @property(no...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDInitRespModel.h
<reponame>leshiguang/LZUISDK // // LSDInitRespModel.h // LSBluetooth-Library // // Created by lifesense-mac on 17/3/2. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" #import "LSConst.h" @interface LSDInitRespModel : LSDBaseModel // 请求类型 @property (nonatomic, assign) LSInitReqTyp...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/Device+CoreDataProperties.h
// // Device+CoreDataProperties.h // LSWearable // // Created by hanfeng.li on 2017/3/29. // Copyright © 2017年 lifesense. All rights reserved. // #import "Device+CoreDataClass.h" #import "LSEDialProertyValue.h" /** * 设备类型:01 体重秤、02 脂肪秤、03 身高、04 计步器、 * 05 腰围尺、06 血糖仪、07 体温计、08 血压计、09 厨房秤、10 手环、14 第三方设备-智能枕头 */...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSBlePairingDelegate.h
// // LSBlePairingDelegate.h // LsBluetooth-Test // // Created by sky on 14-8-13. // Copyright (c) 2014年 com.lifesense.ble. All rights reserved. // #import <Foundation/Foundation.h> #import "LSWeightData.h" @protocol LSBlePairingDelegate <NSObject> @required -(void)bleManagerDidPairedResults:(LSDeviceInfo *)lsDe...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDSportState.h
// // LSDSportState.h // LSBluetooth-Library // // Created by lifesense on 16/11/2. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" #import "model.h" @interface LSDSportState : LSDBaseModel /** * 功能检测 */ @property (nonatomic,assign) LSFunctionTestType functionTest; /** * 开关状态 ...
leshiguang/LZUISDK
LZUISDK/SDK/LSNetwork_iOS.framework/Headers/ServerCommunicationDelegate.h
<gh_stars>1-10 // // ServerCommunicationDelegate.h // LSWearable // // Created by rolandxu on 12/18/15. // Copyright © 2015 lifesense. All rights reserved. // #import <Foundation/Foundation.h> #import "LSBaseResponse.h" typedef NSInteger RequestID; @protocol ServerCommunicationDelegate <NSObject> @required - (vo...
leshiguang/LZUISDK
LZUISDK/SDK/LSNetwork_iOS.framework/Headers/RequestInfo.h
// // RequestInfo.h // BaseNetworkDemo // // Created by boluobill on 16/1/23. // Copyright © 2016年 Lifesense. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, ReqeustMethod) { ReqeustMethodGet = 0, ReqeustMethodPost }; @interface RequestInfo : NSObject @property(non...
leshiguang/LZUISDK
LZUISDK/SDK/LSNetwork_iOS.framework/Headers/BaseNetworkErrorProtocol.h
<reponame>leshiguang/LZUISDK<gh_stars>1-10 // // TMBaseNetworkErrorProtocol.h // LSWearable // // Created by rolandxu on 12/18/15. // Copyright © 2015 lifesense. All rights reserved. // #import <Foundation/Foundation.h> #import "ErrorObjectProtocol.h" enum { RET_DEFAULT_ERROR = -1, RET_SUCCESS = 200, ...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUSportState.h
<filename>LZUISDK/SDK/LSBluetooth.framework/Headers/LSUSportState.h // // LSUSportState.h // LSBluetooth-Library // // Created by lifesense on 16/11/2. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" @interface LSUSportState : LSUBaseModel /** * 功能检测 */ @property (nonatomic,assi...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSUploadTimezoneRequest.h
<filename>LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSUploadTimezoneRequest.h // // LSUploadTimezone.h // LSDeviceManagerFramework // // Created by wm on 2020/9/27. // #import <LSNetwork_iOS/LSNetworkingModule.h> NS_ASSUME_NONNULL_BEGIN @interface LSUploadTimezoneRequest : LSBaseRequest @end NS_ASSU...
leshiguang/LZUISDK
LZUISDK/SDK/LSNetwork_iOS.framework/Headers/RequestMap.h
<filename>LZUISDK/SDK/LSNetwork_iOS.framework/Headers/RequestMap.h // // RequestMap.h // LSWearable // // Created by rolandxu on 12/18/15. // Copyright © 2015 lifesense. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface RequestMap : NSObject /** 当前host */ //@property...
leshiguang/LZUISDK
Example/Pods/Target Support Files/Logan/Logan-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "Logan.h" FOUNDATION_EXPORT double LoganVersionNumber; FOUNDATION_EXPORT const unsigned char LoganVersionString[];
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LSBaseSportData.h
// // LSBaseSportData.h // LSDeviceManagerFramework // // Created by lifesense on 2017/11/15. // Copyright © 2017年 <NAME>. All rights reserved. // #import "BraceletReceiveData.h" @interface LSBaseSportData : BraceletReceiveData /// 上传服务器锻炼类型 (1,"跑步"),(2,"健走"),(3,"骑行"),(4,"游泳"),(5,"健身"),(6,"篮球"),(7,"足球"),(8,"羽毛球"...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDWeatherData.h
// // LSDWeatherData.h // LSBluetooth-Library // // Created by lifesense on 17/1/4. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" #import "LSConst.h" @interface LSFutureWeatherModel : NSObject /** * 天气气象类型 */ @property (nonatomic, assign) LSWeatherType type; /** * 温度范围1 *...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/ScreenDirectionCfg.h
<reponame>leshiguang/LZUISDK<gh_stars>0 // // ScreenDirectionCfg.h // LSWearable // // Created by lifesense-mac on 16/8/12. // Copyright © 2016年 lifesense. All rights reserved. // #import <Foundation/Foundation.h> /** 手环显示方向 */ typedef enum : NSUInteger { ScreenDirectionTypeHorizontal, ///< 水平显示 ScreenD...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDCommonResult.h
// // LSDCommonResult.h // LSBluetooth-Library // // Created by lifesense on 16/1/17. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" @interface LSDCommonResult : LSDBaseModel @property (nonatomic, assign) int cmd; //@property (nonatomic, assign) int packageIndex; @property (...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/LZEventRemindCfg.h
// // LZEventRemindCfg.h // LSDeviceManagerFramework // // Created by wm on 2020/12/17. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, LSVibrationType) { LSVibrationTypeContinuous = 0x00, ///< 持续震动 LSVibrationTypeIntermittentDefault = 0x01, ///< 间...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LZConnectWifiModel.h
<reponame>leshiguang/LZUISDK<gh_stars>0 // // LZConnectWifiModel.h // LSBluetooth // // Created by wm on 2020/10/8. // #import "LSDBaseModel.h" #import "LSConst.h" NS_ASSUME_NONNULL_BEGIN @interface LZConnectWifiModel : LSDBaseModel @property (nonatomic, strong) NSString *bSsid; @property (nonatomic, assign) NSIn...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDTimeType.h
// // LSUTimeType.h // LSBluetooth-Library // // Created by lshenrong on 17/2/13. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" #import "LSConst.h" @interface LSDTimeType : LSDBaseModel @property (nonatomic, assign) TimeType timeType; @end
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSBBleExceptionRecord.h
// // LSBBleExceptionRecord.h // LSBluetooth-Library // // Created by lifesense-mac on 17/10/26. // Copyright © 2017年 Lifesense. All rights reserved. // #import <Foundation/Foundation.h> @interface LSBBleExceptionRecord : NSObject @property (nonatomic, assign) NSUInteger errorCategoryCode; @property (nonatomic,...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/TimeFormatCfg.h
// // TimeFormatCfg.h // LSDeviceManagerFrameworkTests // // Created by boluobill on 2018/8/22. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <LSBluetooth/LSConst.h> @interface TimeFormatCfg : NSObject /// 手环时间显示类型(时制) @property (nonatomic, assign) TimeType type; @...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDBaseModel.h
// // LSDBaseModel.h // LSBluetooth-Library // // Created by lifesense on 16/1/13. // Copyright © 2016年 Lifesense. All rights reserved. // #import <Foundation/Foundation.h> @interface LSDBaseModel : NSObject @property (nonatomic, assign) int COMMAND; @property (nonatomic, assign) int packageIndex; - (NSString *...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSUSyncMeasureData.h
<reponame>leshiguang/LZUISDK // // LSUSyncMeasureData.h // LSBluetooth-Library // // Created by lshenrong on 17/3/3. // Copyright © 2017年 Lifesense. All rights reserved. // #import "LSUBaseModel.h" #import "LSConst.h" @interface LSUSyncMeasureData : LSUBaseModel // 传输完本数据包后设备中的剩余数据条目。 @property (nonatomic, assig...
leshiguang/LZUISDK
LZUISDK/SDK/LSDeviceManagerFramework.framework/Headers/BloodPressureReceiveDataDelegate.h
// // BloodRreasureReceiveDataDelegate.h // LSDeviceManagerFrameworkTests // // Created by wm on 2020/9/17. // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @protocol BloodPressureReceiveDataDelegate <NSObject> - (void)onReceiveBloodPressureMeasureData...
leshiguang/LZUISDK
LZUISDK/SDK/LSBluetooth.framework/Headers/LSDWearingModel.h
// // LSDWearingModel.h // LSBluetooth-Library // // Created by lifesense on 16/8/1. // Copyright © 2016年 Lifesense. All rights reserved. // #import "LSDBaseModel.h" #import "LSConst.h" @interface LSDWearingModel : LSDBaseModel @property (nonatomic, assign) WearingWay wearingWay; @end
ArtemBernatsky/rs.ios-stage1-task4
RSSchool_T4/RSSchool_T4/4/Tree.h
// // Tree.h // RSSchool_T4 // // Created by <NAME> on 4/13/20. // Copyright © 2020 iOSLab. All rights reserved. // #import <Foundation/Foundation.h> @interface Tree : NSObject @property (assign) NSInteger value; @property (weak, nullable) Tree *left; @property (weak, nullable) Tree *right; -(instancetype _Nonn...
tecnicasilegais/Illegal-Pine
Pine-Shooter/image_libs/TextureClass.h
// ***************************************************************************************** // TextureClass.h // ***************************************************************************************** #include "image_libs/ImageClass.h" GLuint LoadTexture (const char *nomeTex);
tecnicasilegais/Illegal-Pine
Pine-Shooter/image_libs/ImageClass.h
<filename>Pine-Shooter/image_libs/ImageClass.h // ***************************************************************************************** // ImageClass.h // ***************************************************************************************** #ifndef ImageClass_hpp #define ImageClass_hpp #include <iostr...
tecnicasilegais/Illegal-Pine
Pine-Shooter/headers/Point.h
<reponame>tecnicasilegais/Illegal-Pine // // Initial class given by professor <NAME> (PUCRS) // Modified by <NAME> and <NAME> // #ifndef Point_hpp #define Point_hpp #include <iostream> #include <cmath> #ifdef WIN32 #include <windows.h> #include <GL/glut.h> #endif #ifdef __APPLE__ #include <GLUT/glut.h> #endif #i...
tecnicasilegais/Illegal-Pine
Pine-Shooter/headers/BoundingBox.h
<reponame>tecnicasilegais/Illegal-Pine #ifndef BoundingBox_hpp #define BoundingBox_hpp #include <iostream> using namespace std; #ifdef WIN32 #include <windows.h> #include <GL/glut.h> #endif #ifdef __APPLE__ #include <GLUT/glut.h> #endif #ifdef __linux__ #include <GL/freeglut.h> #include<bits/stdc++.h> #endif ...
tecnicasilegais/Illegal-Pine
Pine-Shooter/headers/Engine.h
<gh_stars>0 // // Created by <NAME> e <NAME> on 20/05/2021. // #ifndef PINE_SHOOTER_ENGINE_H #define PINE_SHOOTER_ENGINE_H #ifdef WIN32 #include <windows.h> #include <GL/freeglut.h> #endif #ifdef __APPLE__ #include <GLUT/glut.h> #endif #ifdef __linux__ #include <GL/freeglut.h> #endif using namespace std; #incl...
tecnicasilegais/Illegal-Pine
Pine-Shooter/headers/Temporizador.h
// // ControlaTempo.hpp // Imagens // // Created by <NAME> on 23/03/20. // Copyright © 2020 rmd. All rights reserved. // #ifndef ControlaTempo_hpp #define ControlaTempo_hpp #include <iostream> using namespace std; #ifdef WIN32 #include <windows.h> #else #include <sys/time.h> #endif class Temporizador { #if...
yanahonchar/EndPointFramework
EndPointFramework/EndPointFramework/EndPointFramework.h
// // EndPointFramework.h // EndPointFramework // // Created by <NAME> on 11/9/20. // #import <Foundation/Foundation.h> //! Project version number for EndPointFramework. FOUNDATION_EXPORT double EndPointFrameworkVersionNumber; //! Project version string for EndPointFramework. FOUNDATION_EXPORT const unsigned char...
ACOmnibots/2019-AC_Omnibots
SMain.c
#include <kipr/botball.h> void reset(); void rest(int t); void AGP(int port, int h); //arm ground position void CP(int ch, int p); //claw position void CC(int ch);//Close claw to position 0 void moveTo(double lSpeedPercent, double rSpeedPercent, int t); // robot move for time t; lSpeedPercent: left wheel speed percent;...
ACOmnibots/2019-AC_Omnibots
LineFollowandPT.c
#include <kipr/botball.h> #define Pi 3.14159 /* note * a meter and motor maxspeeds example (test 0 result) * * clear_motor_position_counter(1); * clear_motor_position_counter(2); * while(get_motor_position_counter(1) < 11555 || get_motor_position_counter(2) < 9693) * { * motor(1,100); //left * motor(2,84); //r...
ACOmnibots/2019-AC_Omnibots
CameraPractice.c
<reponame>ACOmnibots/2019-AC_Omnibots<filename>CameraPractice.c #include <kipr/botball.h> int main() { printf("Hello World\n"); int t1 = 0, t2 =0; int a = 0, b = 0; enable_servos(); set_servo_position(2, 800); int suc = 0; while(suc == 0){ suc = camera_open_black(); //suc = c...
ACOmnibots/2019-AC_Omnibots
ArmTest.c
<reponame>ACOmnibots/2019-AC_Omnibots #include <kipr/botball.h> void reset(); void rest(int t); void AGP(int port, int h); //arm ground position void CP(int ch, int p); //claw position void CC(int ch);//Close claw to position 0 void moveTo(double lSpeedPercent, double rSpeedPercent, int t); void move(double lSpeedPerce...
RadioDisney/KTVHTTPCache
demo/KTVHTTPCacheDemo/KTVHTTPCacheWrapper.h
// // KTVHTTPCacheWrapper.h // KTVHTTPCacheDemo // // Created by 胡珣珣 on 2019/6/6. // Copyright © 2019 Single. All rights reserved. // #ifndef KTVHTTPCacheWrapper_h #define KTVHTTPCacheWrapper_h #import <Foundation/Foundation.h> @interface KTVHTTPCacheWrapper : NSObject @end #ifdef __cplusplus extern "C" { #endi...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B10D.h
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* ****************************************************************...
martijnvandermarel/bluenet
source/include/drivers/cs_Dimmer.h
<reponame>martijnvandermarel/bluenet /* * Author: Crown<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 29, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <common/cs_Types.h> /** * Class that provides a dimmer. ...
martijnvandermarel/bluenet
source/include/drivers/cs_COMP.h
<reponame>martijnvandermarel/bluenet /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 31, 2017 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once // TODO: requires symbol names to be preceded by std:: #include <cstdint> #include "ble/cs...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B10B.h
<reponame>martijnvandermarel/bluenet<filename>source/include/boards/cs_ACR01B10B.h /* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTyp...
martijnvandermarel/bluenet
source/include/drivers/cs_ADC.h
<gh_stars>0 /* * Author: C<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: 6 Nov., 2014 * Triple-license: LGPLv3+, Apache License, and/or MIT */ #pragma once #include <ble/cs_Nordic.h> #include <cfg/cs_Config.h> #include <events/cs_EventListener.h> #include <structs/buffer/cs_CircularBuffer.h> #i...
martijnvandermarel/bluenet
source/include/structs/buffer/cs_CircularBuffer.h
/* * Author: C<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Feb 27, 2015 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cstdlib> #include "common/cs_Types.h" #include <logging/cs_Logger.h> #include <cfg/cs_Strings.h> #define LOGCircularBufferDeb...
martijnvandermarel/bluenet
source/include/events/cs_Event.h
<filename>source/include/events/cs_Event.h /** * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Oct 9, 2019 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <common/cs_Types.h> #include <cstdint> /** * An event which can be sent ...
martijnvandermarel/bluenet
mock/source/include/util/cs_Error.h
<reponame>martijnvandermarel/bluenet<gh_stars>0 #pragma once #include <cstdlib> #include <iostream> #define assert(expr, message) \ if (!(expr)) { \ printf(message);\ exit(-1); \ }
martijnvandermarel/bluenet
source/include/boards/cs_PCA10040.h
/* * Author: C<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* ************************************************************************...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B1D.h
<gh_stars>0 /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* ****************************************************...
martijnvandermarel/bluenet
source/src/cfg/cs_Boards.c
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Aug 20, 2018 * Triple-license: LGPLv3+, Apache License, and/or MIT */ /* Hardware board configuration. * * This file stores information that is different per type of hardware. Not every type of hardware is available to * cu...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B13B.h
<filename>source/include/boards/cs_ACR01B13B.h /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* *****************...
martijnvandermarel/bluenet
source/include/logging/cs_Logger.h
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Dec 9, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once /** * Logger class. * * Generally, you want to use: LOGnone, LOGv, LOGd, LOGi, LOGw, LOGe, or LOGf. * These can be used like...
martijnvandermarel/bluenet
source/include/boards/cs_BoardMap.h
/* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Feb 21, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #ifdef __cplusplus extern "C" { #endif #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> #include <protocol/cs_UicrPacket.h> #...
martijnvandermarel/bluenet
source/include/cfg/cs_DeviceTypes.h
/* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Sep 23, 2015 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once // These match the value in UICR, and are used for the hardware version string. #define PRODUCT_UNKNOWN 0 #define PRODUC...
martijnvandermarel/bluenet
source/include/util/cs_BleError.h
<reponame>martijnvandermarel/bluenet<gh_stars>10-100 /** * Author: <NAME> * Date: 21 Sep., 2013 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <ble/cs_Nordic.h> #include <util/cs_Error.h> #include <logging/cs_CLogger.h> // These macros can end up in C code, so use th...
martijnvandermarel/bluenet
source/src/drivers/cs_Uicr.c
/* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Mar 17, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #include <cs_SharedConfig.h> #include <drivers/cs_Uicr.h> #include <protocol/cs_ErrorCodes.h> #include <nrf_nvmc.h> #include <nrf_sdh.h> #include <s...
martijnvandermarel/bluenet
source/shared/cs_SharedConfig.h
/* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Apr 26, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif extern uint32_t g_HARDWARE_BOARD_ADDRESS; extern uint...
martijnvandermarel/bluenet
source/include/protocol/cs_UicrPacket.h
<gh_stars>0 /* * Author: C<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Feb 21, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #ifdef __cplusplus extern "C" { #endif #include <stdint.h> /** * Struct with all the Crownstone fields in UICR. * This ...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B2C.h
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* ****************************************************************...
martijnvandermarel/bluenet
source/include/protocol/cs_MicroappPackets.h
<filename>source/include/protocol/cs_MicroappPackets.h /* * Author: Crown<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jun 3, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cstdint> /** * Max number of microapps. */ constexpr uint8_t MAX...
martijnvandermarel/bluenet
source/include/boards/cs_GuideStone.h
<reponame>martijnvandermarel/bluenet /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /** * The Guidestone has pads...
martijnvandermarel/bluenet
source/shared/cs_MicroappStructs.h
/* * Microapp structs. * * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Dec 10, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #ifdef __cplusplus #include <cstdint> #else #include <stdint.h> #endif // This is a given for a MAC address cons...
martijnvandermarel/bluenet
source/include/cfg/cs_AutoConfig.h
#pragma once #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif extern const char g_FIRMWARE_VERSION[]; extern const char g_COMPILATION_DAY[]; extern const char g_BUILD_TYPE[]; extern const char g_BEACON_UUID[]; extern const uint16_t g_BEACON_MAJOR; extern const uint16_t g_BEACON_MI...
martijnvandermarel/bluenet
source/include/cfg/cs_HardwareVersions.h
/** * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Oct 21, 2016 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_AutoConfig.h> #include <drivers/cs_Uicr.h> #include <protocol/cs_UicrPacket.h> #inc...
martijnvandermarel/bluenet
source/include/cfg/cs_Boards.h
<reponame>martijnvandermarel/bluenet<gh_stars>0 /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: 2 Feb., 2017 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) * * NOTE 1: This file is written in C so that it can be used in the bootloader as well. * * NO...
martijnvandermarel/bluenet
source/include/microapp/cs_MicroappCommandHandler.h
<gh_stars>0 #pragma once #include <events/cs_EventListener.h> #include <structs/buffer/cs_CircularBuffer.h> struct __attribute__((packed)) microapp_buffered_mesh_message_t { stone_id_t stoneId; uint8_t messageSize; uint8_t message[MICROAPP_MAX_MESH_MESSAGE_SIZE]; }; /** * The class MicroappCommandHandler has fun...
martijnvandermarel/bluenet
source/include/processing/cs_PowerSampling.h
/** * Authors: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: May 19, 2016 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <drivers/cs_ADC.h> #include <events/cs_EventListener.h> #include <storage/cs_State.h> #inc...
martijnvandermarel/bluenet
mock/source/src/drivers/cs_Uicr.c
<gh_stars>0 #include <drivers/cs_Uicr.h> #include <protocol/cs_ErrorCodes.h> static bool useNfcPinsAsGpio = false; static cs_uicr_data_t staticUicrData = {0xFF}; static uint32_t board = 0xFFFFFFFF; uint32_t getHardwareBoard() { return board; } cs_ret_code_t writeHardwareBoard() { return ERR_SUCCESS; } cs_ret_code...
martijnvandermarel/bluenet
source/src/util/cs_DoubleStackCoroutine.c
<filename>source/src/util/cs_DoubleStackCoroutine.c #include <cfg/cs_StaticConfig.h> #include <stddef.h> #include <stdint.h> #include <util/cs_DoubleStackCoroutine.h> enum { WORKING = 1, YIELDING_MICROAPP0 = 2, DONE }; // Get stack pointer #define getStackPointer(p) asm volatile("mov %0, sp" : "=r"(p) : :) // Set st...
martijnvandermarel/bluenet
source/include/boards/cs_UsbDongle.h
<filename>source/include/boards/cs_UsbDongle.h /* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> void asUsbDongle(boards_confi...
martijnvandermarel/bluenet
source/include/processing/cs_TemperatureGuard.h
/** * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Oct 14, 2015 * Triple-license: LGPLv3+, Apache License, and/or MIT */ #pragma once #include <cstdint> #include "common/cs_Types.h" #include "drivers/cs_Timer.h" #include "drivers/cs_Temperature.h" #include "storage/cs_State....
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B2G.h
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /** * The second type of plug that is delivered to Crownstone user...
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B11A.h
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /* ****************************************************************...
martijnvandermarel/bluenet
source/include/drivers/cs_Uicr.h
/* * Author: <NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Mar 17, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #ifdef __cplusplus extern "C" { #endif #include <protocol/cs_UicrPacket.h> #include <protocol/cs_Typedefs.h> #include <stdbool.h> #incl...
martijnvandermarel/bluenet
source/include/microapp/cs_MicroappController.h
#pragma once #include <cs_MicroappStructs.h> #include <events/cs_EventListener.h> extern "C" { #include <util/cs_DoubleStackCoroutine.h> } static_assert(sizeof(bluenet2microapp_ipcdata_t) <= BLUENET_IPC_RAM_DATA_ITEM_SIZE); /** * The IPC buffers can be used to bootstrap communication between microapp and bluenet. ...
martijnvandermarel/bluenet
source/include/third/nrf/nrf_mesh_config_app.h
<filename>source/include/third/nrf/nrf_mesh_config_app.h /* Copyright (c) 2010 - 2018, Nordic Semiconductor ASA * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions o...
martijnvandermarel/bluenet
source/include/util/cs_DoubleStackCoroutine.h
<gh_stars>0 /* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Oct 28, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <setjmp.h> enum { COROUTINE_BLUENET = 0, COROUTINE_MICROAPP0 = 1 }; /** * We introduce here the DoubleSt...
martijnvandermarel/bluenet
mock/source/include/util/cs_BleError.h
<reponame>martijnvandermarel/bluenet #pragma once #include <cstdlib> #define APP_ERROR_HANDLER(X) exit(X)
martijnvandermarel/bluenet
source/include/boards/cs_ACR01B15A.h
/* * Author: Crown<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 25, 2022 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Boards.h> #include <cfg/cs_DeviceTypes.h> /** * This prototype of the Crownstone Built-in Two is based on the nR...
martijnvandermarel/bluenet
source/include/protocol/cs_UartMsgTypes.h
<filename>source/include/protocol/cs_UartMsgTypes.h /** * Author: Crown<NAME> * Copyright: Crownstone (https://crownstone.rocks) * Date: Jan 17, 2018 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #pragma once #include <cfg/cs_Config.h> #include <protocol/cs_Packets.h> #include <structs/...
JohnTitorMB/QuestEngine
QuestEngine/Shape.h
<filename>QuestEngine/Shape.h<gh_stars>0 #ifndef _SHAPE_H_ #define _SHAPE_H_ #include <glad/glad.h> #include "Shader.h" enum class GLDrawType { GLSTREAM_DRAW = 0x88E0, GLSTATIC_DRAW = 0x88E4, GLDYNAMIC_DRAW = 0x88E8 }; enum class ShapeType { TRIANGLE = 0x0004, Line = 0x0001 }; class Shape { public : Shape(Shad...