repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Tamookk/Basil
Basil/include/Debug/Timer.h
/* * Declares a class for timing how long things take in Basil. */ #pragma once #include <chrono> namespace Basil { template <typename Fn> class Timer { public: Timer(const char* name, Fn&& fn) : func(fn) { // Initialise variables this->name = name; stopped = false; startTimepoint = std::...
Tamookk/Basil
Basil/include/Renderer/IndexBuffer.h
<gh_stars>0 /* * This header file defines a class for creating index buffers. */ #pragma once #include <cstdint> namespace Basil { class IndexBuffer { public: virtual ~IndexBuffer() {} virtual void bind() const = 0; virtual void unbind() const = 0; virtual uint32_t getSize() const = 0; static Sha...
Tamookk/Basil
Basil/include/Renderer/Texture.h
/* * This header file contains the base class for all textures. */ #pragma once namespace Basil { class Texture { public: virtual ~Texture() {} virtual uint32_t getWidth() const = 0; virtual uint32_t getHeight() const = 0; virtual uint32_t getRendererID() const = 0; virtual void setData(void* data...
Tamookk/Basil
Basil/include/Events/KeyEvent.h
/* * This header defines key event classes. */ #pragma once #include "Events/Event.h" namespace Basil { class KeyPressedEvent : public Event { public: KeyPressedEvent(int keycode, int repeatCount); int getKeycode() const; int getRepeatCount() const; virtual EventType getEventType() const override; ...
Tamookk/Basil
Basil/include/Core/MouseCodes.h
<filename>Basil/include/Core/MouseCodes.h /* * This header file contains mouse button codes for the Basil game engine. */ #pragma once namespace Basil { typedef enum class MouseCode : uint16_t { // From glfw3.h Button0 = 0, Button1 = 1, Button2 = 2, Button3 = 3, Button4 = 4, Button5 = 5, Button6 = ...
Tamookk/Basil
Basil/include/Events/Event.h
<reponame>Tamookk/Basil /* * This header defines classes and components for event handling. */ #pragma once #include "pch.h" #include "Core/Core.h" namespace Basil { // Events are currently processed as they happen // Type of event enum class EventType { None = 0, WindowClose, WindowResize, WindowFocus, Wi...
Tamookk/Basil
Basil/include/Platform/OpenGL/OpenGLFramebuffer.h
/* * This header file declares the OpenGL-specific implementation of Framebuffer. */ #pragma once #include "Renderer/Framebuffer.h" namespace Basil { class OpenGLFramebuffer : public Framebuffer { public: OpenGLFramebuffer(const FramebufferSpecification& spec); ~OpenGLFramebuffer(); void invalidate(); ...
Tamookk/Basil
Basil/include/Renderer/ShaderLibrary.h
<gh_stars>0 /* * */ #pragma once #include <unordered_map> #include "Core/Core.h" #include "Renderer/Shader.h" namespace Basil { class ShaderLibrary { public: void add(const Shared<Shader>& shader); void add(const std::string& name, const Shared<Shader>& shader); Shared<Shader> load(const std::string&...
Tamookk/Basil
Basil/include/Scene/Entity.h
<filename>Basil/include/Scene/Entity.h<gh_stars>0 /* * This header file declares the entity class, used for the ECS. */ #pragma once #include "Core/UUID.h" #include "Scene/Component.h" #include "Scene/Scene.h" #include <entt.hpp> namespace Basil { class Entity { public: Entity() = default; Entity(entt::e...
Tamookk/Basil
Basil/include/Platform/OpenGL/OpenGLTexture2D.h
<filename>Basil/include/Platform/OpenGL/OpenGLTexture2D.h /* * This header files declares the OpenGL implementation of Texture2D. */ #pragma once #include "Renderer/Texture2D.h" #include <glad/glad.h> namespace Basil { class OpenGLTexture2D : public Texture2D { public: OpenGLTexture2D(const std::string& pat...
Tamookk/Basil
Basil/include/Scene/SceneCamera.h
/* * This header file declares a class for a Scene Camera. */ #pragma once #include "Renderer/Camera.h" namespace Basil { class SceneCamera : public Camera { public: enum class CameraType { Perspective = 0, Orthographic = 1 }; public: SceneCamera(); ~SceneCamera() = default; void setPerspectiv...
Tamookk/Basil
Basil/include/Scene/Scene.h
/* * This header file declares a class for game scenes. */ #pragma once #include "Core/Timestep.h" #include "Core/UUID.h" #include "Renderer/EditorCamera.h" #include <entt.hpp> class b2World; namespace Basil { class Entity; class Scene { public: Scene(); ~Scene(); static Shared<Scene> copy(Shared<S...
Tamookk/Basil
Basil/include/Renderer/Camera.h
<reponame>Tamookk/Basil /* * Declares a generic camera class. */ #pragma once #include <glm/glm.hpp> namespace Basil { class Camera { public: // TODO: move definition to own cpp file Camera() = default; Camera(const glm::mat4& projection) : projection(projection) {} virtual ~Camera() = default; c...
Tamookk/Basil
Basil/include/Platform/Windows/WindowsWindow.h
/* * This header file contains an extension of the Window class that is platform-specific to Windows. */ #pragma once #include "Core/Window.h" #include "Events/ApplicationEvent.h" #include "Events/KeyEvent.h" #include "Events/MouseEvent.h" #include "Platform/OpenGL/OpenGLContext.h" #include "Renderer/GraphicsContext...
Tamookk/Basil
Basil/include/Core/Timestep.h
/* * This header file contains a class for keeping track of time. */ #pragma once namespace Basil { class Timestep { public: Timestep(float time); float getSeconds() const; float getMilliseconds() const; operator float() const { return time; } private: float time; }; }
Tamookk/Basil
Basil/include/Core/LayerStack.h
<gh_stars>0 /* * This header file is for defining the LayerStack class, which is used to abstract adding and * removing layers from a layer vector. */ #pragma once #include <vector> #include "Core/Core.h" #include "Core/Layer.h" namespace Basil { class LayerStack { public: LayerStack(); ~LayerStack(); ...
Tamookk/Basil
Basil/include/Core/Timer.h
/* * This header file declares a class for a basic timer. */ #pragma once #include <chrono> namespace Basil { class Timer { public: Timer(); void reset(); float elapsed(); float elapsedMillis(); private: std::chrono::time_point<std::chrono::high_resolution_clock> start; }; }
Tamookk/Basil
Basil/include/Renderer/BufferElement.h
/* * This header file declares a class used for holding data on a buffer element. * This header file also defines an enum class that defines the different * types of data that can be passed to shaders. */ #pragma once #include <cstdint> #include <string> // Define the shader data types enum class ShaderDataType ...
Tamookk/Basil
Basil/include/Renderer/VertexArray.h
<gh_stars>0 /* * This header file declares a class used for creating and using * vertex array objects. */ #pragma once #include "Renderer/IndexBuffer.h" #include "Renderer/VertexBuffer.h" namespace Basil { class VertexArray { public: virtual ~VertexArray() {} virtual void bind() const = 0; virtual voi...
Tamookk/Basil
Pesto/include/EditorLayer.h
<gh_stars>0 /* * Declares a class for testing 2D rendering. */ #pragma once #include "Panels/ContentBrowserPanel.h" #include "Panels/PropertiesPanel.h" #include "Panels/SceneHierarchyPanel.h" #include "Renderer/EditorCamera.h" #include "Core/Basil.h" namespace Basil { class EditorLayer : public Layer { public:...
Tamookk/Basil
Basil/include/Platform/OpenGL/OpenGLVertexArray.h
/* * This header file contains a class for the OpenGL-specific implementation of * VertexArray.h. */ #pragma once #include "Renderer/VertexArray.h" #include <glad/glad.h> namespace Basil { class OpenGLVertexArray : public VertexArray { public: OpenGLVertexArray(); ~OpenGLVertexArray(); void bind() co...
Tamookk/Basil
Basil/include/Core/Log.h
<gh_stars>0 /* * This class is for game engine and client logging. */ #pragma once #include "Core.h" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/string_cast.hpp> #include <spdlog/spdlog.h> #include <spdlog/fmt/ostr.h> #include <spdlog/sinks/basic_file_sink.h> #include <spdlog/sinks/stdout_color_sinks.h> name...
Tamookk/Basil
Basil/include/Debug/Instrumentor.h
<filename>Basil/include/Debug/Instrumentor.h /* * Declares a class for writing profiling data to a JSON file. */ #pragma once #include <algorithm> #include <chrono> #include <fstream> #include <string> #include <thread> namespace Basil { struct ProfileResult { std::string name; long long start; long long en...
Tamookk/Basil
Basil/include/Renderer/EditorCamera.h
/* * This header file declares the camera used by the editor. */ #pragma once #include "Core/Timestep.h" #include "Events/Event.h" #include "Events/MouseEvent.h" #include "Renderer/Camera.h" #include <glm/glm.hpp> namespace Basil { class EditorCamera : public Camera { public: EditorCamera() = default; Edito...
Tamookk/Basil
Basil/include/Renderer/RendererAPI.h
/* * This header file declares an interface for the renderer that will be implemented per-platform. */ #pragma once #include "Renderer/VertexArray.h" #include <glm/glm.hpp> namespace Basil { class RendererAPI { public: enum class API { None = 0, OpenGL = 1 }; virtual void init() = 0; vir...
Tamookk/Basil
Pesto/include/Panels/ContentBrowserPanel.h
/* * This header file declares a panel for content browsing. */ #pragma once #include <filesystem> #include "Renderer/Texture2D.h" namespace Basil { class ContentBrowserPanel { public: ContentBrowserPanel(); void onImGuiRender(); private: std::filesystem::path currentDirectory; Shared<Texture2D> ...
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/atlsecurity.h
#include <atlsecurity.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/openssl/evp.h
#include <openssl/evp.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/atlconv.h
#include <atlconv.h>
trdwll/CryptolensUE
Source/CryptolensUE/Public/CryptolensUE.h
// Russ 'trdwll' Treadwell <<EMAIL>> - 2021 #pragma once #include "CoreMinimal.h" #include "Modules/ModuleManager.h" #include "UObject/NoExportTypes.h" #include <cryptolens/Configuration_Windows.hpp> #include <cryptolens/Error.hpp> #include <cryptolens/MachineCodeComputer_static.hpp> #include <cryptolens/core.hpp> ...
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/wincrypt.h
<filename>Source/ThirdParty/include/cryptolens/imports/windows/wincrypt.h<gh_stars>0 #include <wincrypt.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/openssl/rsa.h
<gh_stars>0 #include <openssl/rsa.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/openssl/bn.h
<reponame>trdwll/CryptolensUE #include <openssl/bn.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/winhttp.h
<gh_stars>0 #include <winhttp.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/iphlpapi.h
#include <iphlpapi.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/openssl/ssl.h
<reponame>trdwll/CryptolensUE #include <openssl/ssl.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/Wbemidl.h
#include <Wbemidl.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/curl/curl.h
<reponame>trdwll/CryptolensUE<filename>Source/ThirdParty/include/cryptolens/imports/curl/curl.h #include <curl/curl.h>
trdwll/CryptolensUE
Source/ThirdParty/include/cryptolens/imports/windows/comdef.h
<reponame>trdwll/CryptolensUE<filename>Source/ThirdParty/include/cryptolens/imports/windows/comdef.h<gh_stars>0 #include <comdef.h>
JoanKing/JKStatusBar
JKStatusBar/JKStatusBar/TestViewController.h
// // TestViewController.h // JKStatusBar // // Created by 王冲 on 2019/1/16. // Copyright © 2019年 JK科技有限公司. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface TestViewController : UIViewController @end NS_ASSUME_NONNULL_END
ArchLL/HGPersonalCenter
HGPersonalCenter/Tools/HGDeviceHelper.h
<filename>HGPersonalCenter/Tools/HGDeviceHelper.h<gh_stars>100-1000 // // HGDeviceHelper.h // HGPersonalCenter // // Created by Arch on 2018/9/17. // Copyright © 2019 <EMAIL>. All rights reserved. // #import <Foundation/Foundation.h> @interface HGDeviceHelper : NSObject + (BOOL)isIpad; + (BOOL)isExistFringe; + (B...
ArchLL/HGPersonalCenter
HGPersonalCenter/Controllers/HGHomeViewController.h
// // HGHomeViewController.h // HGPersonalCenter // // Created by Arch on 2017/6/16. // Copyright © 2017年 mint_bin. All rights reserved. // #import <UIKit/UIKit.h> @interface HGHomeViewController : HGBaseViewController @end
ArchLL/HGPersonalCenter
HGPersonalCenter/Views/HGHeaderImageView.h
// // HGHeaderImageView.h // HGPersonalCenter // // Created by Arch on 2019/5/17. // Copyright © 2019 mint_bin. All rights reserved. // #import <UIKit/UIKit.h> @interface HGHeaderImageView : UIView @property (nonatomic) CGFloat initialHeight; @end
ArchLL/HGPersonalCenter
HGPersonalCenter/Controllers/BaseControllers/HGBaseViewController.h
<gh_stars>100-1000 // // HGBaseViewController.h // HGPersonalCenter // // Created by Arch on 2017/6/19. // Copyright © 2017年 mint_bin. All rights reserved. // #import <UIKit/UIKit.h> @interface HGBaseViewController : GKNavigationBarViewController @end
ArchLL/HGPersonalCenter
HGPersonalCenter/Controllers/HGMessageViewController.h
// // HGMessageViewController.h // HGPersonalCenter // // Created by Arch on 2019/5/15. // Copyright © 2019 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> @interface HGMessageViewController : HGBaseViewController @end
ben-EDT/libatsc3
src/atsc3_mmt_signalling_message_types.c
/* * atsc3_mmt_signalling_messages_types.c * * Created on: Aug 10, 2019 * Author: jjustman */ #include "atsc3_mmt_signalling_message_types.h" int _MMT_SI_TYPES_ERROR_ENABLED = 1; int _MMT_SI_TYPES_WARN_ENABLED = 1; int _MMT_SI_TYPES_INFO_ENABLED = 1; int _MMT_SI_TYPES_DEBUG_ENABLED = 0; int _MMT_SI_TYPES_T...
ben-EDT/libatsc3
src/atsc3_route_object.c
<gh_stars>10-100 /* * atsc3_route_object.c * * Created on: Jul 27, 2020 * Author: jjustman * * * <EMAIL> tools % tail -f debug.log.5003| grep "atsc3_route_object_reset_and_free_atsc3_route_object_lct_packet_received\|atsc3_route_object_is_complete: true" atsc3_route_object.c : 153:DEBUG:1595953002.4722:...
ben-EDT/libatsc3
src/atsc3_audio_decoder_configuration_record.h
<filename>src/atsc3_audio_decoder_configuration_record.h // // Created by <NAME> on 12/1/20. // #include <stddef.h> #include <stdlib.h> #ifndef ATSC3_AUDIO_DECODER_CONFIGURATION_RECORD_H_ #define ATSC3_AUDIO_DECODER_CONFIGURATION_RECORD_H_ #include "atsc3_logging_externs.h" #include "atsc3_vector_builder.h" #include ...
ben-EDT/libatsc3
src/atsc3_logging_externs.h
<filename>src/atsc3_logging_externs.h /* * atsc3_logging_externs.h * * Created on: Mar 6, 2019 * Author: jjustman */ #include <stdio.h> /* printf */ #include <stdarg.h> /* va_list, va_start, va_arg, va_end */ #include "atsc3_utils.h" #ifndef ATSC3_LOGGING_EXTERNS_H_ #define ATSC3_LOGGING_EXTERNS_H...
ben-EDT/libatsc3
src/atsc3_pcre2_regex_utils.c
<reponame>ben-EDT/libatsc3 /* * atsc3_pcre2_regex_utils.c * * Created on: Jul 6, 2020 * Author: jjustman */ #include "atsc3_pcre2_regex_utils.h" int _PCRE2_REGEX_UTILS_INFO_ENABLED = 1; int _PCRE2_REGEX_UTILS_DEBUG_ENABLED = 0; int _PCRE2_REGEX_UTILS_TRACE_ENABLED = 0; //vector types impl ATSC3_VECTOR_BUI...
ben-EDT/libatsc3
src/atsc3_ntp_utils.h
<gh_stars>10-100 /* * atsc3_mmtp_ntp32_to_pts.h * * Created on: Jan 8, 2019 * Author: jjustman */ #ifndef MODULES_DEMUX_MMT_MMTP_NTP32_TO_PTS_H_ #define MODULES_DEMUX_MMT_MMTP_NTP32_TO_PTS_H_ #include "atsc3_utils.h" #include <time.h> #include <stdio.h> /** * convert ntp "short-format" packet time into ...
ben-EDT/libatsc3
src/atsc3_core_service_player_bridge.h
// // Created by <NAME> on 2019-09-27. // #ifndef __JJ_PHY_MMT_PLAYER_BRIDGE_DISABLED #include <string> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <sys/stat.h> #include <time.h> #include <signal.h> #include <limits.h> #ifndef _WIN32 #include <sys/ioctl.h> #include <ftw.h> #endif #include <mute...
Sensirion/embedded-i2c-sen5x
tests/sensirion_test_setup.h
#ifndef SENSIRION_TEST_SETUP_H #define SENSIRION_TEST_SETUP_H #include <stdio.h> #include "CppUTest/TestHarness.h" // provide macros which will only be available in a future cpputest release // See https://github.com/cpputest/cpputest/pull/1423 #ifndef CHECK_EQUAL_ZERO #define CHECK_EQUAL_ZERO(actual) CHECK_EQUAL(0,...
Sensirion/embedded-i2c-sen5x
sen5x_i2c.h
/* * THIS FILE IS AUTOMATICALLY GENERATED * * I2C-Generator: 0.3.0 * Yaml Version: 2.1.3 * Template Version: 0.7.0-109-gb259776 */ /* * Copyright (c) 2021, Sensirion AG * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
moreira/react-native-piwik-manager
ios/BNFPiwik/Piwik.h
<gh_stars>0 // // Piwik // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #if __has_include(<React/RCTBridgeModule.h>) #import <React/RCTBridgeModule.h> #elif __has_include("RCTBridgeModule.h") #import "RCTBridgeModule.h" #elif __has_include("React/RCTBridgeModule.h") #import "React/RCTBridgeModule.h" //...
shuaigeqing/ZQCar
MyCar/MyCar/Community/Model/BBSModel.h
// // BBSModel.h // MyCar // // Created by 🐵 on 16-5-26. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface BBSModel : NSObject @property (nonatomic,copy) NSString * postTitle; @property (nonatomic,copy) NSString * postLink; @property (nonatomic,copy) NSString * auth...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Controller/NewsViewController.h
<gh_stars>0 // // NewsViewController.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import "BaseHeadNewsViewController.h" @interface NewsViewController : BaseHeadNewsViewController @end
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Controller/CarViewController.h
<filename>MyCar/MyCar/HeadNews/Controller/CarViewController.h<gh_stars>0 // // CarViewController.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import "BaseHeadNewsViewController.h" @interface CarViewController : BaseHeadNewsViewController @end
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Model/DrawerModel.h
// // DrawerModel.h // MyCar // // Created by 🐵 on 16-5-28. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface DrawerModel : NSObject @property (nonatomic,copy) NSString * serialId; @property (nonatomic,copy) NSString * serialName; @property (nonatomic,copy) NSStri...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Model/HeadButtonModel.h
// // HeadButtonModel.h // MyCar // // Created by 🐵 on 16-5-22. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface HeadButtonModel : NSObject @property (nonatomic,copy) NSString * ID; @property (nonatomic,copy) NSString * title; @property (nonatomic,copy) NSString * ...
shuaigeqing/ZQCar
MyCar/MyCar/Community/View/HotTableViewCell.h
<filename>MyCar/MyCar/Community/View/HotTableViewCell.h // // HotTableViewCell.h // MyCar // // Created by 🐵 on 16-5-26. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "BBSModel.h" @interface HotTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel *t...
shuaigeqing/ZQCar
MyCar/MyCar/ThreeLibrary/HttpRequest.h
<gh_stars>0 // // HttpRequest.h // Travel // // Created by 🐵 on 16-5-19. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface HttpRequest : NSObject + (void)startHttpRequestWithURL:(NSString *)url andParmenter:(NSDictionary *)parmeters andReturnBlock:(void(^)(NSData * ...
shuaigeqing/ZQCar
MyCar/MyCar/Community/Controller/CommunityDetailViewController.h
// // CommunityDetailViewController.h // MyCar // // Created by 🐵 on 16-5-27. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface CommunityDetailViewController : UIViewController @property (nonatomic,copy) NSString * url; @end
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/View/ButtonOnHeadView.h
// // ButtonOnHeadView.h // MyCar // // Created by 🐵 on 16-5-22. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "HeadButtonModel.h" @interface ButtonOnHeadView : UIButton @property (nonatomic,strong) UIImageView * ImageView; @property (nonatomic,strong) UILabel * label; - (...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Controller/DetailViewController.h
// // DetailViewController.h // MyCar // // Created by 🐵 on 16-5-29. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface DetailViewController : UIViewController @property (nonatomic,copy) NSString * serialId; @end
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Controller/RightTableViewController.h
<filename>MyCar/MyCar/ChooseCar/Controller/RightTableViewController.h // // RightTableViewController.h // MyCar // // Created by 🐵 on 16-5-28. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface RightTableViewController : UITableViewController @property (nonatomic,copy) NSStrin...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Model/BrandModel.h
// // BrandModel.h // MyCar // // Created by 🐵 on 16-5-30. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface BrandModel : NSObject @property (nonatomic,copy) NSString * introduction; @property (nonatomic,copy) NSString * logoMeaning; @property (nonatomic,copy) NSS...
shuaigeqing/ZQCar
MyCar/MyCar/Community/Controller/BaseBBsViewController.h
<reponame>shuaigeqing/ZQCar // // BaseBBsViewController.h // MyCar // // Created by 🐵 on 16-5-26. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> typedef enum { BBSVIEW = 1, HOT, }VIEW_TYPE; @interface BaseBBsViewController : UIViewController @property (nonatomic,strong...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/View/AVTableViewCell.h
// // AVTableViewCell.h // MyCar // // Created by 🐵 on 16-5-23. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "NewsCellModel.h" #import <AVFoundation/AVFoundation.h> #import <MediaPlayer/MediaPlayer.h> @interface AVTableViewCell : UITableViewCell @property (strong, nonatomic)...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Controller/BrandViewController.h
// // BrandViewController.h // MyCar // // Created by 🐵 on 16-5-30. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface BrandViewController : UIViewController @property (nonatomic,copy) NSString * masterId; @property (nonatomic,copy) NSString * masterName; @end
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/View/ClassTableViewCell.h
// // ClassTableViewCell.h // MyCar // // Created by 🐵 on 16-5-30. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "ChooseModel.h" @interface ClassTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UIImageView *IV; @property (strong, nonatomic) IBOutlet UILa...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Controller/BaseHeadNewsViewController.h
// // BaseHeadNewsViewController.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "TopScrollView.h" #import <AVFoundation/AVFoundation.h> #import <MediaPlayer/MediaPlayer.h> @interface BaseHeadNewsViewController : UIViewController @pro...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Controller/NewsDetailViewController.h
<reponame>shuaigeqing/ZQCar // // NewsDetailViewController.h // MyCar // // Created by 🐵 on 16-5-25. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface NewsDetailViewController : UIViewController @property (nonatomic,copy) NSString * NewsID; @property (nonatomic,assign) NSInteg...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Model/ChooseModel.h
// // ChooseModel.h // MyCar // // Created by 🐵 on 16-5-27. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface ChooseModel : NSObject @property (nonatomic,copy) NSString * masterId; @property (nonatomic,copy) NSString * name; @property (nonatomic,copy) NSString * l...
shuaigeqing/ZQCar
MyCar/MyCar/Base/BaseTabBarController.h
// // BaseTabBarController.h // Travel // // Created by 🐵 on 16-5-19. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface BaseTabBarController : UITabBarController @end
shuaigeqing/ZQCar
MyCar/MyCar/Community/View/BBSTableViewCell.h
// // BBSTableViewCell.h // MyCar // // Created by 🐵 on 16-5-26. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "BBSModel.h" @interface BBSTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UIImageView *IV; @property (strong, nonatomic) IBOutlet UILabel *ti...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/Model/ContainDrawerModel.h
<reponame>shuaigeqing/ZQCar // // ContainDrawerModel.h // MyCar // // Created by 🐵 on 16-5-28. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface ContainDrawerModel : NSObject @property (nonatomic,copy) NSString * brandId; @property (nonatomic,copy) NSString * bran...
shuaigeqing/ZQCar
MyCar/MyCar/ThreeLibrary/MMProgressHUD/Source/MMProgressHUDWindow.h
// // MMProgressHUDWindow.h // MMProgressHUDDemo // // Created by <NAME> on 6/28/12. // Copyright (c) 2012 Mutual Mobile. All rights reserved. // #import <UIKit/UIKit.h> #import "MMProgressHUD.h" @interface MMProgressHUDWindow : UIWindow /** The window that was key at presentation time. Used to grab the view con...
shuaigeqing/ZQCar
MyCar/MyCar/Community/Controller/CommunityVC.h
<reponame>shuaigeqing/ZQCar // // CommunityVC.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface CommunityVC : UIViewController @end
shuaigeqing/ZQCar
MyCar/MyCar/Community/Controller/HotViewController.h
// // HotViewController.h // MyCar // // Created by 🐵 on 16-5-26. // Copyright (c) 2016年 MC. All rights reserved. // #import "BaseBBsViewController.h" @interface HotViewController : BaseBBsViewController @end
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/Model/NewsCellModel.h
<reponame>shuaigeqing/ZQCar // // NewsCellModel.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import <Foundation/Foundation.h> @interface NewsCellModel : NSObject @property (nonatomic,assign) int commentCount; @property (nonatomic,copy) NSString * newsId; @prop...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/View/NewsTableViewCell.h
<reponame>shuaigeqing/ZQCar<gh_stars>0 // // NewsTableViewCell.h // MyCar // // Created by 🐵 on 16-5-20. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "NewsCellModel.h" @interface NewsTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UIImageView *coverIma...
shuaigeqing/ZQCar
MyCar/MyCar/HeadNews/View/TopScrollView.h
<gh_stars>0 // // TopScrollView.h // MyCar // // Created by 🐵 on 16-5-21. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @interface TopScrollView : UIView @property (nonatomic,strong) UIScrollView * scrollView; @property (nonatomic,strong) UIPageControl * pageController; @property (n...
shuaigeqing/ZQCar
MyCar/MyCar/ChooseCar/View/BrandTableViewCell.h
// // BrandTableViewCell.h // MyCar // // Created by 🐵 on 16-5-30. // Copyright (c) 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> #import "BrandModel.h" @interface BrandTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel *Label; @end
danielnagy81/AnimatingHeaderView
MovingImageTest/MovingImageView.h
// // MovingImageView.h // MovingImageTest // // Created by Daniel_Nagy on 19/04/16. // Copyright © 2016 NDani. All rights reserved. // @import UIKit; typedef NS_ENUM(NSInteger, MovingImageViewImageAnimationType) { TopToBottom = 0, ZoomIn }; @interface MovingImageView : UIView @property (nonatomic) NSTime...
mylxiaoyi/maptk
gui/tools/AbstractTool.h
/*ckwg +29 * Copyright 2017 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of...
horsicq/XProcessModulesWidget
xprocessmoduleswidget.h
/* Copyright (c) 2022 hors<<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
COM14/PD-Arcade-Lights
source-code/PD Arcade Lights.h
<filename>source-code/PD Arcade Lights.h #include "pch.h" #include <Windows.h> #include "PluginConfigApi.h" #include "framework.h" #define sync 0xff #define offset 0xc9 using namespace System; using namespace System::IO::Ports; uint32_t Rate; uint8_t Selected_Port, Delay; void loadConfig() { Selec...
COM14/PD-Arcade-Lights
source-code/PluginConfigApi.h
<reponame>COM14/PD-Arcade-Lights<gh_stars>1-10 #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <windows.h> #include <vector> // resolution class to store and sort the width and height easily class resolution { public: unsigned int width; unsig...
COM14/PD-Arcade-Lights
source-code/framework.h
#include <windows.h> #include <string> std::wstring ExePath() { WCHAR buffer[MAX_PATH]; GetModuleFileNameW(NULL, buffer, MAX_PATH); return std::wstring(buffer); } std::wstring DirPath() { std::wstring exepath = ExePath(); std::wstring::size_type pos = exepath.find_last_of(L"\\/"); return exepath.sub...
AlgoTyc/Computergrafik
model.h
#ifndef MODEL_H #define MODEL_H #include <QOpenGLBuffer> #include <QOpenGLVertexArrayObject> #include <QString> #include <QOpenGLFunctions> #include <QOpenGLFunctions_3_3_Core> #include "dcommon.h" class Model : QOpenGLFunctions_3_3_Core { public: Model(); void initGL(const QString &filename...
AlgoTyc/Computergrafik
modelloader.h
/* * ModelLoader class * A simple interface to the Assimp library to generate arrays for Qt * to be used as Buffer Objects within OpenGL * * v0.6 beta, 2018 * * <EMAIL> * * Released under THE BEER-WARE LICENSE (Rev. 42) * */ #ifndef MODELLOADER_H #define MODELLOADER_H #include <assimp/Import...
AlgoTyc/Computergrafik
skybox.h
#ifndef SKYBOX_H #define SKYBOX_H #include <QOpenGLShaderProgram> #include <QOpenGLFunctions_3_3_Core> class Skybox: QOpenGLFunctions_3_3_Core { public: Skybox(); ~Skybox(); void init_skybox(); void draw(const QMatrix4x4 &projection, QMatrix4x4 view); GLuint handleCubeMap() const { ...
AlgoTyc/Computergrafik
myglwidget.h
<gh_stars>0 #ifndef MYGLWIDGET_H #define MYGLWIDGET_H #include <QOpenGLWidget> #include <QWidget> #include <QKeyEvent> #include <QVector3D> #include <QOpenGLFunctions_3_3_Core> #include <QOpenGLShaderProgram> #include "model.h" #include "skybox.h" #define NUM_LS 5 struct Material { QVector3D ambient...
AlexKovrigin/PictureCrypt
src/app/model/modelpc.h
#ifndef MODELPC_H #define MODELPC_H #include <QObject> #include <QImage> #include <QByteArray> #include <QColor> #include <QPoint> #include <QVector> #include <QProcess> #include <QTime> #include <QFileInfo> #include <QtGui> #include <QtCore/QRandomGenerator> #include <QPair> #include "qaesencryption.h" #include <QCr...
AlexKovrigin/PictureCrypt
src/app/view/aboutpc.h
#ifndef ABOUTPC_H #define ABOUTPC_H #include <QDialog> namespace Ui { class AboutPC; } /*! * \brief The AboutPC class The About Page dialog */ class AboutPC : public QDialog { Q_OBJECT public: explicit AboutPC(QWidget *parent = 0); ~AboutPC(); void setVersion(QString version); private: Ui::Abo...
AlexKovrigin/PictureCrypt
src/app/view/encryptdialog.h
#ifndef ENCRYPTDIALOG_H #define ENCRYPTDIALOG_H #include <QDialog> #include <QFileDialog> #include <QImage> #include <QMessageBox> #include <QString> #include "../model/qaesencryption.h" #include <QCryptographicHash> namespace Ui { class EncryptDialog; } /*! * \brief The EncryptDialog class Class to get the image ...
AlexKovrigin/PictureCrypt
src/app/controllerpc.h
<reponame>AlexKovrigin/PictureCrypt<gh_stars>10-100 #ifndef CONTROLLERPC_H #define CONTROLLERPC_H #include <QObject> #include <QString> #include <QThread> #include <QMessageBox> #include "model/modelpc.h" #include "view/viewpc.h" /*! \file controllerpc.h * Header of ControllerPC class * \sa ControllerPC, ModelPC, V...
AlexKovrigin/PictureCrypt
src/app/view/viewpc.h
<reponame>AlexKovrigin/PictureCrypt #ifndef VIEWPC_H #define VIEWPC_H #include <QMainWindow> #include <QFile> #include <QFileInfo> #include <QFileDialog> #include <QMessageBox> #include <QImage> #include <QByteArray> #include <QVector> #include <QThread> #include <QDesktopServices> #include <QInputDialog> #include <Qt...
SaanaVallius/Graphical-UI
GraphicalUI.h
/* * GraphicalGUI.h * * Created on: 12.1.2017 * Author: <NAME> */ #ifndef GRAPHICALUI_H_ #define GRAPHICALUI_H_ #include "LiquidCrystal.h" class GraphicalUI { public: GraphicalUI(); virtual ~GraphicalUI(); void print_auto(); void print_error(); void print_man(); void update_values(int setPressure, in...