repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
zxcvdavid/php-yaf | yaf_router.c | /*
+----------------------------------------------------------------------+
| Yet Another Framework |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundl... |
zxcvdavid/php-yaf | routes/yaf_route_map.c | /*
+----------------------------------------------------------------------+
| Yet Another Framework |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundl... |
mihaiblidaru/onlinejudge.org | Volume1/100/100.c | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
int calculate_num_cycles(int n)
{
int i = 1;
while (n != 1)
{
i++;
if (n % 2 != 0)
n = 3 * n + 1;
else
n = n / 2;
}
return i;
}
int main()
{
int i = 0, j = 0, max, res, a;
int x, ... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUICollectionViewFlowLayout.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUICollectionViewFlowLayout : UICollectionViewFlowLayout
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/ResultList/MWZUIGroupedResultListDelegate.h | #ifndef MWZUIGroupedResultListDelegate_h
#define MWZUIGroupedResultListDelegate_h
#import <MapwizeSDK/MapwizeSDK.h>
@protocol MWZUIGroupedResultListDelegate <NSObject>
- (void) didSelect:(id<MWZObject>) mapwizeObject universe:(MWZUniverse*) universe forQuery:(NSString*) query;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DefaultScene/MWZUIMapViewMenuBarDelegate.h | <filename>MapwizeUI/Scenes/DefaultScene/MWZUIMapViewMenuBarDelegate.h
//
// MWZMapViewMenuBarDelegate.h
// MapwizeUI
//
// Created by Etienne on 29/10/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
#ifndef MWZUIMapViewMenuBarDelegate_h
#define MWZUIMapViewMenuBarDelegate_h
@protocol MWZUIMapViewMenuBar... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIFullContent/MWZUIFullContentViewComponentButton.h | //
// MWZUIRoundedButtonIconText.h
// BottomSheet
//
// Created by Etienne on 30/09/2020.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
Define MapwizeUI defined button type
*/
typedef NS_ENUM(NSUInteger, MWZUIFullContentViewComponentButtonType) {
MWZUIFullContentViewComponentButtonDirection,
M... |
Mapwize/mapwize-ui-ios | MapwizeUI/Utils/MWZUIOpeningHoursUtils.h | #import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class MWZUIOpeningInterval;
@interface MWZUIOpeningHoursUtils : NSObject
+ (NSArray<MWZUIOpeningInterval*>*) getSortedIntervals:(NSArray<NSDictionary*>*) input;
+ (NSString*) getCurrentOpeningStateString:(NSArray<NSDictionary*>*) input timezoneCode:(NSStrin... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIBottomSheet.h | #import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIBottomSheetDelegate.h"
#import "MWZUIDefaultContentViewDelegate.h"
#import "MWZUIFullContentViewDelegate.h"
@class MWZPlaceDetails;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIBottomSheet : UIView <MWZUIDefaultContentViewDelegate, MWZUIFullContentVi... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomInfoView/MWZUIBottomInfoView.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUIBottomInfoViewDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIBottomInfoView : UIView
@property (nonatomic, weak) id<MWZUIBottomInfoViewDelegate> delegate;
- (instancetype) initWithColor:(UIColor*) color;
- (void) selectContentWithPlace:(MWZPlace*) pla... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIBooking/MWZUIBookingView.h | #import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIFullContentViewComponentRow.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIBookingView : MWZUIFullContentViewComponentRow
@property (nonatomic) UIScrollView* scrollView;
- (instancetype) initWithFrame:(CGRect)frame placeDetails:(MWZPlaceDetails*)pl... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/SearchScene/MWZUISearchScene.h | #import <UIKit/UIKit.h>
#import "MWZUISearchQueryBar.h"
#import "MWZUISearchViewControllerOptions.h"
#import "MWZUIGroupedResultList.h"
#import "MWZUISearchSceneDelegate.h"
#import "MWZUIScene.h"
#import "MWZUIGroupedResultListDelegate.h"
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUISearchScene : NSOb... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIPagerHeaderView.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
#import "MWZUIPagerHeaderViewDelegate.h"
@class MWZUIPagerHeaderTitle;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIPagerHeaderView : UIView
@property (nonatomic, weak) id<MWZUIPagerHeaderViewDelegate> delegate;
@property (nonatomic) UIStackView* stackView;
@property (nonatomic) ... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionSceneDelegate.h | <gh_stars>10-100
#ifndef MWZUIDirectionSceneDelegate_h
#define MWZUIDirectionSceneDelegate_h
@import MapwizeSDK;
@class MWZUIDirectionScene;
@protocol MWZUIDirectionSceneDelegate <NSObject>
- (void) directionSceneDidTapOnBackButton:(MWZUIDirectionScene*) scene;
- (void) directionSceneDidTapOnFromButton:(MWZUIDirect... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIIssuesReportingViewController.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIIssuesReportingViewController : UIViewController
- (instancetype) initWithVenue:(MWZVenue*)venue
placeDetails:(MWZPlaceDetails*)placeDetails
userInfo:(MWZUserInfo*)userInfo
... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DefaultScene/MWZUIMapViewMenuBar.h | <filename>MapwizeUI/Scenes/DefaultScene/MWZUIMapViewMenuBar.h
#import <UIKit/UIKit.h>
#import "MWZUIMapViewMenuBarDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIMapViewMenuBar : UIView
@property (nonatomic) UIButton* menuButton;
@property (nonatomic) UIActivityIndicatorView* activityIndicator;
@property (nonato... |
Mapwize/mapwize-ui-ios | MapwizeUI/CompassView/MWZUICompass.h | #import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@protocol MWZUICompassDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUICompass : UIImageView
@property (nonatomic, weak) id<MWZUICompassDelegate> delegate;
- (void) updateCompass:(CLLocationDirection) direction;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/SearchScene/MWZUISearchQueryBarDelegate.h | #ifndef MWZUISearchQueryBarDelegate_h
#define MWZUISearchQueryBarDelegate_h
@protocol MWZUISearchQueryBarDelegate <NSObject>
- (void) didTapOnBackButton;
- (void) searchQueryDidChange:(NSString*) query;
@end
#endif /* MWZSearchQueryBarDelegate_h */
|
Mapwize/mapwize-ui-ios | MapwizeUI/MapViewController/MWZUIView.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUIViewDelegate;
@protocol MWZUISearchSceneDelegate;
@protocol MWZUIDefaultSceneDelegate;
@protocol MWZUIDirectionSceneDelegate;
@protocol MWZUIFloorControllerDelegate;
@protocol MWZUICompassDelegate;
@protocol MWZUIFollowUserButtonDelegate;
@protocol MWZUILangu... |
Mapwize/mapwize-ui-ios | MapwizeUI/DirectionModule/MWZUIDirectionInfo.h | <reponame>Mapwize/mapwize-ui-ios<filename>MapwizeUI/DirectionModule/MWZUIDirectionInfo.h
#import <UIKit/UIKit.h>
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIDirectionInfo : UIView
- (instancetype) initWithColor:(UIColor*) color;
- (void) showLoading;
- (void) hideLoading;
- (void) showErrorMessage:... |
Mapwize/mapwize-ui-ios | MapwizeUI/FloorController/MWZUIFloorController.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
#import "MWZUIFloorControllerDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIFloorController : UIScrollView
@property (nonatomic,weak) id<MWZUIFloorControllerDelegate> floorControllerDelegate;
- (instancetype) initWithColor:(UIColor*) color;
- (void) mapwizeFloorsD... |
Mapwize/mapwize-ui-ios | MapwizeUI/UniverseButton/MWZUIUniversesButtonDelegate.h | <filename>MapwizeUI/UniverseButton/MWZUIUniversesButtonDelegate.h
@import MapwizeSDK;
#ifndef MWZUIUniversesButtonDelegate_h
#define MWZUIUniversesButtonDelegate_h
@protocol MWZUIUniversesButtonDelegate <NSObject>
- (void) didSelectUniverse:(MWZUniverse*) universe;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionModeSegmentDelegate.h | <filename>MapwizeUI/Scenes/DirectionScene/MWZUIDirectionModeSegmentDelegate.h
#ifndef MWZUIDirectionModeSegmentDelegate_h
#define MWZUIDirectionModeSegmentDelegate_h
@import MapwizeSDK;
@class MWZUIDirectionModeSegment;
@protocol MWZUIDirectionModeSegmentDelegate <NSObject>
- (void) directionModeSegment:(MWZUIDirec... |
Mapwize/mapwize-ui-ios | MapwizeUI/FollowUserButton/MWZUIFollowUserButton.h | <reponame>Mapwize/mapwize-ui-ios<filename>MapwizeUI/FollowUserButton/MWZUIFollowUserButton.h
#import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUIFollowUserButtonDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIFollowUserButton : UIButton
@property (nonatomic, weak) id<MWZUIFollowUserButtonDelegate> delegat... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIPagerHeaderViewDelegate.h | #ifndef MWZUIPagerHeaderViewDelegate_h
#define MWZUIPagerHeaderViewDelegate_h
@class MWZUIPagerHeaderView;
@class MWZUIPagerHeaderTitle;
@protocol MWZUIPagerHeaderViewDelegate <NSObject>
- (void) pagerHeader:(MWZUIPagerHeaderView*) pagerHeader didChangeTitle:(MWZUIPagerHeaderTitle*) title;
@end
#endif /* MWZUIPage... |
Mapwize/mapwize-ui-ios | MapwizeUI/FollowUserButton/MWZUIFollowUserButtonDelegate.h | #ifndef MWZUIFollowUserButtonDelegate_h
#define MWZUIFollowUserButtonDelegate_h
@class MWZUIFollowUserButton;
@protocol MWZUIFollowUserButtonDelegate <NSObject>
- (void) didTapWithoutLocation;
- (void) followUserButton:(MWZUIFollowUserButton*) followUserButton didChangeFollowUserMode:(MWZFollowUserMode) followUs... |
Mapwize/mapwize-ui-ios | MapwizeUI/Events/MWZUIEventChannel.h | <filename>MapwizeUI/Events/MWZUIEventChannel.h<gh_stars>10-100
#ifndef MWZUIEventChannel_h
#define MWZUIEventChannel_h
#import <Foundation/Foundation.h>
/**
Enum to identify how a place or placelist has been selected
*/
typedef NS_ENUM(NSUInteger, MWZUIEventChannel) {
/// The user click on the place icon
MW... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/SearchScene/MWZUISearchQueryBar.h | #import <UIKit/UIKit.h>
#import "MWZUISearchQueryBarDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUISearchQueryBar : UIView <UITextFieldDelegate>
@property (nonatomic) UIButton* backButton;
@property (nonatomic) UIButton* clearButton;
@property (nonatomic) UITextField* searchTextField;
@property (nonatomic, wea... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUILabelRow.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUILabelRow : UIView
@property (nonatomic) UIImage* image;
@property (nonatomic) UIColor* color;
- (instancetype) initWithImage:(UIImage*)image label:(NSString*)label color:(UIColor*)color;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/MapwizeUI.h | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double MapwizeUIVersionNumber;
FOUNDATION_EXPORT const unsigned char MapwizeUIVersionString[];
#import "MWZUIOptions.h"
#import "MWZUIView.h"
#import "MWZUIViewDelegate.h"
#import "MWZUIEventChannel.h"
#import "MWZUISettings.h"
#import "MWZUIBottomSheetComponents.h"
#import ... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DefaultScene/MWZUIDefaultSceneDelegate.h | #ifndef MWZUIDefaultSceneDelegate_h
#define MWZUIDefaultSceneDelegate_h
@class MWZUIBottomSheetComponents;
@class MWZPlaceDetails;
@class MWZPlacelist;
@class MWZUIBottomSheetComponents;
@protocol MWZUIDefaultSceneDelegate <NSObject>
- (void) didTapOnSearchButton;
- (void) didTapOnMenuButton;
- (void) didTapOnInform... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIDefaultContentViewDelegate.h | #ifndef MWZUIDefaultContentViewDelegate_h
#define MWZUIDefaultContentViewDelegate_h
@protocol MWZUIDefaultContentViewDelegate <NSObject>
- (void) didTapOnDirectionButton;
- (void) didTapOnCallButton;
- (void) didTapOnShareButton;
- (void) didTapOnWebsiteButton;
- (void) didTapOnInfoButton;
@end
#endif /* MWZUID... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomInfoView/MWZUIBottomInfoViewDelegate.h | #ifndef MWZUIBottomInfoViewDelegate_h
#define MWZUIBottomInfoViewDelegate_h
@protocol MWZUIBottomInfoViewDelegate <NSObject>
- (void) didPressDirection;
- (void) didPressInformation;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/LanguageButton/MWZUILanguagesButtonDelegate.h | #ifndef MWZUILanguagesButtonDelegate_h
#define MWZUILanguagesButtonDelegate_h
@protocol MWZUILanguagesButtonDelegate <NSObject>
- (void) didSelectLanguage:(NSString*) language;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/FloorController/MWZUIFloorControllerDelegate.h | #ifndef MWZUIFloorControllerDelegate_h
#define MWZUIFloorControllerDelegate_h
@class MWZUIFloorController;
@protocol MWZUIFloorControllerDelegate <NSObject>
- (void) floorController:(MWZUIFloorController*) floorController didSelect:(NSNumber*) floorOrder;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DefaultScene/MWZUIDefaultScene.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
#import "MWZUIMapViewMenuBar.h"
#import "MWZUIMapViewMenuBarDelegate.h"
#import "MWZUIDefaultSceneDelegate.h"
#import "MWZUIBottomInfoView.h"
#import "MWZUIBottomInfoViewDelegate.h"
#import "MWZUIScene.h"
#import "MWZUIDefaultSceneProperties.h"
#import "MWZUIBottomSheet.h"
NS_A... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionHeader.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
#import "MWZUIDirectionHeaderDelegate.h"
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@class MWZUIBorderedTextField;
@interface MWZUIDirectionHeader : UIView <UITextFieldDelegate>
@property (nonatomic, weak) id<MWZUIDirectionHeaderDelegate> delegate;
- (instancetype)initWit... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIPagerHeaderTitle.h | //
// MWZUIPagerHeaderButton.h
// MapwizeUI
//
// Created by Etienne on 09/10/2020.
// Copyright © 2020 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIPagerHeaderTitle : NSObject
@property (nonatomic) NSNumber* index;
@property (nonatomic) NSString* tit... |
Mapwize/mapwize-ui-ios | MapwizeUI/FloorController/MWZUIFloorView.h | <reponame>Mapwize/mapwize-ui-ios
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIFloorView : UILabel
@property (nonatomic) NSNumber* floor;
@property (nonatomic, assign) BOOL selected;
@property (nonatomic) UIColor* mainColor;
- (instancetype) initWithFrame:(CGRect) frame
withIsSelec... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIBooking/MWZUIBookingGridView.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIBookingGridView : UIView
@property (nonatomic) UIColor* color;
- (instancetype)initWithFrame:(CGRect)frame gridWidth:(double)gridWidth color:(UIColor*)color;
- (void) setCurrentTime:(double)hours events:(NSArray<MWZPlaceDetailsEven... |
Mapwize/mapwize-ui-ios | MapwizeUI/ResultList/MWZUIGroupedResultList.h | <reponame>Mapwize/mapwize-ui-ios<gh_stars>10-100
#import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUIGroupedResultListDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIGroupedResultList : UIView
@property (nonatomic, weak) id<MWZUIGroupedResultListDelegate> resultDelegate;
- (void) setLanguage:(NSString*) ... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUITwoLinesRow.h | #import <Foundation/Foundation.h>
#import "MWZUIFullContentViewComponentRow.h"
NS_ASSUME_NONNULL_BEGIN
@protocol MWZUITextFieldRowDelegate <NSObject>
- (void) didChangeInput:(NSString*)value;
@end
@interface MWZUITwoLinesRow : MWZUIFullContentViewComponentRow
@property (nonatomic, weak) id<MWZUITextFieldRowDeleg... |
Mapwize/mapwize-ui-ios | MapwizeUI/Commons/MWZUIBorderedTextField.h | #import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIBorderedTextField : UITextField
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/QrCodeButton/MWZUIQrCodeButtonDelegate.h | <filename>MapwizeUI/QrCodeButton/MWZUIQrCodeButtonDelegate.h<gh_stars>10-100
#ifndef MWZUIQrCodeButtonDelegate_h
#define MWZUIQrCodeButtonDelegate_h
@class MWZUIQrCodeButton;
@protocol MWZUIQrCodeButtonDelegate <NSObject>
- (void) didTapOn:(MWZUIQrCodeButton*) button;
@end
#endif /* MWZUIQrCodeButtonDelegate_h */
|
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIFullContent/MWZUIFullContentViewComponentRow.h | <filename>MapwizeUI/Component/MWZUIFullContent/MWZUIFullContentViewComponentRow.h
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
Define MapwizeUI defined row type
*/
typedef NS_ENUM(NSUInteger, MWZUIFullContentViewComponentRowType) {
MWZUIFullContentViewComponentRowOpeningHours,
MWZUIFullContentViewCom... |
Mapwize/mapwize-ui-ios | MapwizeUI/CompassView/MWZUICompassDelegate.h | <filename>MapwizeUI/CompassView/MWZUICompassDelegate.h
#ifndef MWZUICompassDelegate_h
#define MWZUICompassDelegate_h
@class MWZUICompass;
@protocol MWZUICompassDelegate <NSObject>
- (void) didPress:(MWZUICompass*) compass;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIIssueTypeCell.h | <reponame>Mapwize/mapwize-ui-ios
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIIssueTypeCell : UICollectionViewCell
@property (nonatomic) UILabel* label;
@property (nonatomic) NSLayoutConstraint* width;
@property (nonatomic) UIColor* color;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIFullContentViewDelegate.h | #ifndef MWZUIFullContentViewDelegate_h
#define MWZUIFullContentViewDelegate_h
@protocol MWZUIFullContentViewDelegate <NSObject>
- (void) didTapOnDirectionButton;
- (void) didTapOnCallButton;
- (void) didTapOnShareButton;
- (void) didTapOnWebsiteButton;
- (void) didTapOnInfoButton;
- (void) didTapOnReportIssueBut... |
Mapwize/mapwize-ui-ios | MapwizeUI/UniverseButton/MWZUIUniversesButton.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUIUniversesButtonDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIUniversesButton : UIButton
@property (nonatomic, weak) id<MWZUIUniversesButtonDelegate> delegate;
- (instancetype) init;
- (void) showIfNeeded;
- (void) mapwizeAccessibleUniversesDidChange:... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/Commons/MWZUIOpeningHoursTableViewCell.h | <gh_stars>10-100
//
// MWZUIOpeningHoursTableViewCell.h
// BottomSheet
//
// Created by Etienne on 02/10/2020.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIOpeningHoursTableViewCell : UITableViewCell
@property (nonatomic, retain) UILabel* dayLabel;
@property (nonatomic, retain) UILabel* hou... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUICollectionViewCell.h | <filename>MapwizeUI/Component/MWZUICollectionViewCell.h
//
// MWZUICollectionViewCell.h
// BottomSheet
//
// Created by Etienne on 28/09/2020.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUICollectionViewCell : UICollectionViewCell
@property (nonatomic) UIImageView* imageView;
@end
NS_ASSUM... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIBottomSheetDelegate.h | #ifndef MWZUIBottomSheetDelegate_h
#define MWZUIBottomSheetDelegate_h
#import <MapwizeSDK/MapwizeSDK.h>
@class MWZUIBottomSheet;
@class MWZUIBottomSheetComponents;
@protocol MWZUIBottomSheetDelegate <NSObject>
- (MWZUIBottomSheetComponents*) requireComponentForPlaceDetails:(MWZPlaceDetails*)placeDetails withDefaultC... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionModeSegment.h | <filename>MapwizeUI/Scenes/DirectionScene/MWZUIDirectionModeSegment.h
#import <UIKit/UIKit.h>
#import "MWZUIDirectionModeSegmentDelegate.h"
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIDirectionModeSegment : UIView
@property (nonatomic, weak) id<MWZUIDirectionModeSegmentDelegate> delegate;
@property ... |
Mapwize/mapwize-ui-ios | MapwizeUI/Commons/MWZUIIconTextButton.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
MWZUIIconTextButton is used by the SDK to display button in the selected content view.
*/
@interface MWZUIIconTextButton : UIButton
/**
Creates a MWZUIIconTextButton
@param title displayed on the button
@param image show on the left on the but... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionScene.h | <reponame>Mapwize/mapwize-ui-ios
#import <Foundation/Foundation.h>
#import "MWZUIDirectionHeader.h"
#import "MWZUIDirectionHeaderDelegate.h"
#import "MWZUIScene.h"
#import "MWZUIDirectionSceneDelegate.h"
#import "MWZUIGroupedResultListDelegate.h"
#import "MWZUIDirectionInfo.h"
#import "MWZUIGroupedResultList.h"
#import... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIFullContent/MWZUIOpeningHoursView.h | //
// MWZUIOpeningHoursView.h
// BottomSheet
//
// Created by Etienne on 30/09/2020.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIOpeningHoursView : UIView
@property (nonatomic, assign) BOOL expanded;
@property (nonatomic) NSArray* openingHours;
- (void) toggleExpanded;
- (void) setOpening... |
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIFullContent/MWZUIBottomSheetComponents.h | #import <Foundation/Foundation.h>
#import "MWZUIFullContentViewComponentButton.h"
#import "MWZUIFullContentViewComponentRow.h"
#import "MWZUIIconTextButton.h"
NS_ASSUME_NONNULL_BEGIN
/**
MWZUIBottomSheetComponents is used as container for all the content displayed in the bottomsheet.
*/
@interface MWZUIBottomSheetCo... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIPagerView.h | <reponame>Mapwize/mapwize-ui-ios<filename>MapwizeUI/BottomSheet/MWZUIPagerView.h
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIPagerView : UIView
- (instancetype)initWithFrame:(CGRect)frame color:(UIColor*)color;
- (void) addSlide:(UIView*)slide named:(NSString*)name;
- (void) build;
@end
NS_ASSUM... |
Mapwize/mapwize-ui-ios | MapwizeUI/Commons/MWZUIPaddingLabel.h | #import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIPaddingLabel : UILabel
@property (nonatomic, assign) int topInset;
@property (nonatomic, assign) int bottomInset;
@property (nonatomic, assign) int leftInset;
@property (nonatomic, assign) int rightInset;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIDefaultContent/MWZUIDefaultContentView.h | #import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIDefaultContentViewDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@class MWZPlaceDetails;
@class MWZUIIconTextButton;
@interface MWZUIDefaultContentView : UIView
@property (nonatomic, weak) id<MWZUIDefaultContentViewDelegate> delegate;
@property (nonatomic... |
Mapwize/mapwize-ui-ios | MapwizeUI/QrCodeButton/MWZUIQrCodeButton.h | #import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol MWZUIQrCodeButtonDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIQrCodeButton : UIButton
@property (nonatomic, weak) id<MWZUIQrCodeButtonDelegate> delegate;
- (instancetype) init;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIIssueTypeView.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIFullContentViewComponentRow.h"
#import "MWZUIIssueTypeViewDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIIssueTypeView : MWZUIFullContentViewComponentRow <UICollectionViewDelegate, UICollectionViewDataSource>
@property (non... |
Mapwize/mapwize-ui-ios | MapwizeUI/Utils/MWZUIOpeningInterval.h | <gh_stars>10-100
//
// MWZUIOpeningInterval.h
// MapwizeUI
//
// Created by Etienne on 15/10/2020.
// Copyright © 2020 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIOpeningInterval : NSObject
@property (nonatomic, assign) NSInteger day;
@property (nona... |
Mapwize/mapwize-ui-ios | MapwizeUI/Utils/MWZUIOptions.h | #import <Foundation/Foundation.h>
@import MapwizeSDK;
/**
This class allows to pass MWZOptions to the map with option that are not in the MapwizeSDK
*/
@interface MWZUIOptions : MWZOptions
/**
The location to center on
*/
@property (nonatomic, retain) MWZLatLngFloor* _Nullable centerOnLocation;
@end
|
Mapwize/mapwize-ui-ios | MapwizeUI/Component/MWZUIFullContent/MWZUIFullContentView.h | #import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIFullContentViewDelegate.h"
@class MWZPlaceDetails;
@class MWZUIFullContentViewComponentButton;
@class MWZUIFullContentViewComponentRow;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIFullContentView : UIView
@property (nonatomic, weak) id<MWZUIFullCon... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIReportIssueRow.h | <filename>MapwizeUI/BottomSheet/MWZUIReportIssueRow.h<gh_stars>10-100
#import <UIKit/UIKit.h>
#import <MapwizeSDK/MapwizeSDK.h>
#import "MWZUIFullContentViewComponentRow.h"
NS_ASSUME_NONNULL_BEGIN
@protocol MWZUIReportIssueRowDelegate <NSObject>
- (void) didTapOnReportIssue;
@end
@interface MWZUIReportIssueRow : M... |
Mapwize/mapwize-ui-ios | MapwizeUI/Utils/ILIndoorLocation+DirectionPoint.h | <reponame>Mapwize/mapwize-ui-ios
@import IndoorLocation;
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface ILIndoorLocation (MWZDirectionPoint) <MWZDirectionPoint>
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DefaultScene/MWZUIDefaultSceneProperties.h | <gh_stars>10-100
#import <Foundation/Foundation.h>
@import MapwizeSDK;
@interface MWZUIDefaultSceneProperties : NSObject
@property (nonatomic) MWZVenue* venue;
@property (nonatomic) BOOL venueLoading;
@property (nonatomic) id selectedContent;
@property (nonatomic) MWZPlaceDetails* placeDetails;
@property (nonatomic)... |
Mapwize/mapwize-ui-ios | MapwizeUI/Utils/MWZUIColors.h | <gh_stars>10-100
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIColors : NSObject
+ (UIImage *)tintedBackgroundImageWithImage:(UIImage*) input tint:(UIColor *)color;
@end
NS_ASSUME_NONNULL_END
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/DirectionScene/MWZUIDirectionHeaderDelegate.h | #ifndef MWZUIDirectionHeaderDelegate_h
#define MWZUIDirectionHeaderDelegate_h
@import MapwizeSDK;
@class MWZUIDirectionHeader;
@protocol MWZUIDirectionHeaderDelegate <NSObject>
- (void) directionHeaderDidTapOnBackButton:(MWZUIDirectionHeader*) directionHeader;
- (void) directionHeaderDidTapOnFromButton:(MWZUIDirect... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIOpeningHoursTodayTableViewCell.h | <reponame>Mapwize/mapwize-ui-ios
//
// MWZUIOpeningHoursTodayTableViewCell.h
// MapwizeUI
//
// Created by Etienne on 15/10/2020.
// Copyright © 2020 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIOpeningHoursTodayTableViewCell : UITableViewCell
@property (nonato... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/MWZUISceneCoordinator.h | <filename>MapwizeUI/Scenes/MWZUISceneCoordinator.h<gh_stars>10-100
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "MWZUIDefaultScene.h"
#import "MWZUISearchScene.h"
#import "MWZUIDirectionScene.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWZUISceneCoordinator : NSObject
-(instancetype) initWithContainer... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/SearchScene/MWZUISearchSceneDelegate.h | #ifndef MWZUISearchSceneDelegate_h
#define MWZUISearchSceneDelegate_h
@protocol MWZUISearchSceneDelegate <NSObject>
- (void) didTapOnBackButton;
- (void) searchQueryDidChange:(NSString*) query;
- (void) didSelect:(id<MWZObject>)mapwizeObject universe:(MWZUniverse*) universe forQuery:(NSString*) query;
@end
#endif /... |
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/SearchScene/MWZUISearchViewControllerOptions.h | <filename>MapwizeUI/Scenes/SearchScene/MWZUISearchViewControllerOptions.h<gh_stars>10-100
#import <Foundation/Foundation.h>
@import MapwizeSDK;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUISearchViewControllerOptions : NSObject
@property (assign) BOOL isDirection;
@property (assign) BOOL isFrom;
@property (assign) BOOL ... |
Mapwize/mapwize-ui-ios | MapwizeUI/BottomSheet/MWZUIIssueTypeViewDelegate.h | #ifndef MWZUIIssueTypeViewDelegate_h
#define MWZUIIssueTypeViewDelegate_h
#import <MapwizeSDK/MapwizeSDK.h>
@protocol MWZUIIssueTypeViewDelegate <NSObject>
- (void) didSelectIssueType:(MWZIssueType*)issueType;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/Scenes/MWZUIScene.h | #import <UIKit/UIKit.h>
#ifndef MWZUIScene_h
#define MWZUIScene_h
@protocol MWZUIScene <NSObject>
- (instancetype) initWith:(UIColor*) mainColor;
- (void) addTo:(UIView*) view;
- (void) setHidden:(BOOL) hidden;
- (UIView*) getTopViewToConstraint;
- (UIView*) getBottomViewToConstraint;
@end
#endif
|
Mapwize/mapwize-ui-ios | MapwizeUI/LanguageButton/MWZUILanguagesButton.h | #import <UIKit/UIKit.h>
@import MapwizeSDK;
@protocol MWZUILanguagesButtonDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface MWZUILanguagesButton : UIButton
@property (nonatomic, weak) id<MWZUILanguagesButtonDelegate> delegate;
- (instancetype) init;
- (void) mapwizeDidEnterInVenue:(MWZVenue*) venue;
- (void) mapwizeD... |
Mapwize/mapwize-ui-ios | MapwizeUI/Commons/MWZUIPaddingTextField.h | <reponame>Mapwize/mapwize-ui-ios<gh_stars>10-100
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUIPaddingTextField : UITextField
@property (nonatomic, assign) int topInset;
@property (nonatomic, assign) int bottomInset;
@property (nonatomic, assign) int leftInset;
@property (nonatomic, assign) int rig... |
Mapwize/mapwize-ui-ios | MapwizeUI/MapViewController/MWZUISettings.h | #import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWZUISettings: NSObject
@property (nonatomic, assign) BOOL menuButtonIsHidden;
@property (nonatomic, assign) BOOL followUserButtonIsHidden;
@property (nonatomic, assign) BOOL floorControllerIsHidden;
@property (nonatomic, assign) BOOL compassIsHidd... |
Mapwize/mapwize-ui-ios | MapwizeUI/MapViewController/MWZUIViewDelegate.h | <filename>MapwizeUI/MapViewController/MWZUIViewDelegate.h
#ifndef MWZUIViewDelegate_h
#define MWZUIViewDelegate_h
@class MWZUIView;
#import "MWZUIEventChannel.h"
@import MapwizeSDK;
@class MWZUIBottomSheetComponents;
/**
The MWZUIViewDelegate allow you to respond to the map events
*/
@protocol MWZUIViewDelegate <NSO... |
2shady4u/libkra | libkra/kra_layer_data.h | // ############################################################################ #
// Copyright © 2022 <NAME> & <NAME> <<EMAIL>>
// Licensed under the MIT License.
// See LICENSE in the project root for license information.
// ############################################################################ #
#ifndef KRA_LA... |
2shady4u/libkra | libkra/kra_layer.h | <gh_stars>0
// ############################################################################ #
// Copyright © 2022 <NAME> & <NAME> <<EMAIL>>
// Licensed under the MIT License.
// See LICENSE in the project root for license information.
// ############################################################################ #
#i... |
2shady4u/libkra | libkra/kra_utility.h | // ############################################################################ #
// Copyright © 2022 <NAME> & <NAME> <<EMAIL>>
// Licensed under the MIT License.
// See LICENSE in the project root for license information.
// ############################################################################ #
#ifndef KRA_UT... |
2shady4u/libkra | libkra/kra_document.h | // ############################################################################ #
// Copyright © 2022 <NAME> & <NAME> <<EMAIL>>
// Licensed under the MIT License.
// See LICENSE in the project root for license information.
// ############################################################################ #
#ifndef KRA_DO... |
2shady4u/libkra | libkra/kra_exported_layer.h | // ############################################################################ #
// Copyright © 2022 <NAME> & <NAME> <<EMAIL>>
// Licensed under the MIT License.
// See LICENSE in the project root for license information.
// ############################################################################ #
#ifndef KRA_EX... |
dandycheung/baulk | lib/archive/liblzma/check/crc64_fast.c | <filename>lib/archive/liblzma/check/crc64_fast.c
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc64.c
/// \brief CRC64 calculation
///
/// Calculate the CRC64 using the slice-by-four algorithm. This is the same
/// idea that is used in crc32_fast.c, but for CRC... |
dandycheung/baulk | tools/baulk-dock/resource.h | ///
#ifndef BAULK_DOCK_BAULK_RESOURCE_H
#define BAULK_DOCK_BAULK_RESOURCE_H
#define ICON_BAULK_BASE 256
#define IMAGE_BAULK_BASE64 401
#define IMAGE_BAULK_BASE96 402
#define IMAGE_BAULK_BASE128 403
#define IMAGE_BAULK_BASE256 404
#define IDM_BAULK_DOCK_ABOUT 500
#define IDD_BAULK_DOCK_WINDOW 1001
#define IDC_BUTTON_... |
dandycheung/baulk | lib/mem/mimalloc/src/segment-cache.c | <filename>lib/mem/mimalloc/src/segment-cache.c
/* ----------------------------------------------------------------------------
Copyright (c) 2020, Microsoft Research, <NAME>
This is free software; you can redistribute it and/or modify it under the
terms of the MIT license. A copy of the license can be found in the file... |
dandycheung/baulk | vendor/bela/external/escapeargv.c | ////
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>
#include <string.h>
size_t escape_length(char *s, size_t *rlen, bool *hp) {
size_t len = 0;
size_t i = 0;
bool hasspace = false;
len = strlen(s);
if (len == 0) {
// ""
return 2;
}
size_t n = len;
... |
dandycheung/baulk | lib/archive/zlib/google/redact.h | // Copyright (c) 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_ZLIB_GOOGLE_REDACT_H_
#define THIRD_PARTY_ZLIB_GOOGLE_REDACT_H_
#include <ostream>
#include "base/files/file_path.h"
#include "ba... |
dandycheung/baulk | vendor/bela/test/appexeclink/afunix.c | #undef UNICODE
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <afunix.h>
#include <stdlib.h>
#include <stdio.h>
#pragma comment(lib, "Ws2_32")
#define SERVER_SOCKET "server.sock"
int __cdecl main(void) {
SOCKET ClientSocket = INVALID_SOCKET;
SOCKET ListenSock... |
dandycheung/baulk | lib/mem/mimalloc/src/segment.c | /* ----------------------------------------------------------------------------
Copyright (c) 2018-2020, Microsoft Research, <NAME>
This is free software; you can redistribute it and/or modify it under the
terms of the MIT license. A copy of the license can be found in the file
"LICENSE" at the root of this distributio... |
dandycheung/baulk | lib/archive/liblzma/common/common.c | <filename>lib/archive/liblzma/common/common.c
///////////////////////////////////////////////////////////////////////////////
//
/// \file common.c
/// \brief Common functions needed in many places in liblzma
//
// Author: <NAME>
//
// This file has been put into the public domain.
// You can do whate... |
dandycheung/baulk | lib/archive/zstd/compress/zstd_compress_superblock.c | /*
* Copyright (c) <NAME>, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may select, at yo... |
dandycheung/baulk | lib/archive/liblzma/common/block_util.c | ///////////////////////////////////////////////////////////////////////////////
//
/// \file block_util.c
/// \brief Utility functions to handle lzma_block
//
// Author: <NAME>
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
/////////////////////... |
dandycheung/baulk | lib/archive/liblzma/check/crc32_table.c | ///////////////////////////////////////////////////////////////////////////////
//
/// \file crc32_table.c
/// \brief Precalculated CRC32 table with correct endianness
//
// Author: <NAME>
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
/////////... |
dandycheung/baulk | lib/archive/zstd/common/portability_macros.h | /*
* Copyright (c) Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may select, at your optio... |
dandycheung/baulk | tools/unscrew/resource.h | ///
#ifndef BAULK_UNSCREW_RESOURCE_H
#define BAULK_UNSCREW_RESOURCE_H
#define ICON_BAULK_APP 256
#define IDC_PROGRESS_BAR 1000
#endif
|
dandycheung/baulk | lib/archive/liblzma/lzma/lzma_common.h | ///////////////////////////////////////////////////////////////////////////////
//
/// \file lzma_common.h
/// \brief Private definitions common to LZMA encoder and decoder
///
// Authors: <NAME>
// <NAME>
//
// This file has been put into the public domain.
// You can do whatever you want... |
dandycheung/baulk | lib/archive/zlib/crc32.c | <reponame>dandycheung/baulk
/* crc32.c -- compute the CRC-32 of a data stream
* Copyright (C) 1995-2022 <NAME>
* For conditions of distribution and use, see copyright notice in zlib.h
*
* This interleaved implementation of a CRC makes use of pipelined multiple
* arithmetic-logic units, commonly found in modern CPU... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.