repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageButtonsData.h | <reponame>vicpopov/omim
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface PlacePageButtonsData : NSObject
@property(nonatomic, readonly) BOOL showHotelDescription;
@property(nonatomic, readonly) BOOL showAddPlace;
@property(nonatomic, readonly) BOOL showEditPlace;
@property(nonatomic, readonly) BO... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/Categories/NSHTTPURLResponse+MPAdditions.h | <gh_stars>1-10
//
// NSHTTPURLResponse+MPAdditions.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
extern NSString * const kMoPubHTTPHeaderContentType;
@interface NSHTTPURLRespons... |
vicpopov/omim | iphone/Maps/UI/PlacePage/PlacePageManager/MWMPlacePageManagerHelper.h | <filename>iphone/Maps/UI/PlacePage/PlacePageManager/MWMPlacePageManagerHelper.h
#import "MWMUGCReviewSource.h"
#import <CoreApi/UgcSummaryRatingType.h>
@class PlacePageData;
@class ElevationProfileData;
@interface MWMPlacePageManagerHelper : NSObject
+ (void)updateAvailableArea:(CGRect)frame;
+ (void)showUGCAddRevie... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGPromoCardViewProtocol.h | <reponame>vicpopov/omim
//
// MTRGPromoCardViewProtocol.h
// myTargetSDK 4.6.15
//
// Created by <NAME> on 20.10.16.
// Copyright © 2016 Mail.ru. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MTRGMediaAdView;
@protocol MTRGPromoCardViewProtocol <NSObject>
@required
@property(nonatomic, readonly) UILab... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelBookingData.h | #import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface HotelFacility : NSObject
@property(nonatomic, readonly) NSString *type;
@property(nonatomic, readonly) NSString *name;
@end
@interface HotelPhotoUrl : NSObject
@property(nonatomic, readonly) NSString *original;
@property(nonatomic, readonly) NSS... |
vicpopov/omim | iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.h | <filename>iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.h
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSUInteger, MWMMapOverlayTrafficState) {
MWMMapOverlayTrafficStateDisabled,
MWMMapOverlayTrafficStateEnabled,
MWMMapOverlayTrafficStateWaitingData,
MWMMapOverlayTrafficStateOutdated,
MWMMapOverla... |
vicpopov/omim | iphone/Maps/Core/Location/GeoTracker/IMWMGeoTrackerZone.h | NS_ASSUME_NONNULL_BEGIN
@protocol IMWMGeoTrackerZone<NSObject>
@property (nonatomic, readonly) CLLocationDegrees latitude;
@property (nonatomic, readonly) CLLocationDegrees longitude;
@property (nonatomic, readonly) NSString *identifier;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/MoPub-FacebookAudienceNetwork-Adapters/FacebookAudienceNetwork/FacebookNativeCustomEvent.h | //
// FacebookNativeCustomEvent.h
// MoPub
//
// Copyright (c) 2014 MoPub. All rights reserved.
//
#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#elif __has_include(<MoPubSDKFramework/MoPub.h>)
#import <MoPubSDKFramework/MoPub.h>
#else
#import "MPNativeCustomEvent.h"
#endif
@interface Fac... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTMediaFile.h | <reponame>vicpopov/omim<filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTMediaFile.h<gh_stars>1-10
//
// MPVASTMediaFile.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Founda... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/HTML/MPContentBlocker.h | //
// MPContentBlocker.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MPContentBlocker : NSObject
/**
Blocked resources for use with @c WKCont... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRoom+Core.h | #import "HotelRoom.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface HotelRoom (Core)
- (instancetype)initWithBlockInfo:(booking::BlockInfo const &)blockInfo;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/CoreApi/CoreApi/DeepLink/Data/DeeplinkParsingResult.h | <gh_stars>1-10
#import <Foundation/Foundation.h>
#import "map/mwm_url.hpp"
NS_ASSUME_NONNULL_BEGIN
static inline DeeplinkParsingResult deeplinkParsingResult(url_scheme::ParsedMapApi::ParsingResult result)
{
switch (result)
{
case url_scheme::ParsedMapApi::ParsingResult::Incorrect: return DeeplinkParsingResu... |
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryCityGalleryObjects.h | #include "partners_api/promo_api.hpp"
NS_ASSUME_NONNULL_BEGIN
@interface MWMDiscoveryCityGalleryObjects : NSObject
- (instancetype)initWithGalleryResults:(promo::CityGallery const &)results;
- (promo::CityGallery::Item const &)galleryItemAtIndex:(NSUInteger)index;
- (NSUInteger)count;
- (nullable NSURL *)moreURL;
- ... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTModel.h | <reponame>vicpopov/omim<filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTModel.h
//
// MPVASTModel.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
@protocol MPO... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGChatListAdView.h | //
// MTRGChatListAdView.h
// myTargetSDK 4.6.15
//
// Created by <NAME> on 05.12.14.
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGNativePromoBanner.h>
#import <MyTargetSDK/MTRGStarsRatingLabel.h>
@interface MTRGChatListAdView : UIView
@property(no... |
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/Tags/MWMTagGroup+Convenience.h | <gh_stars>1000+
#import "MWMTagGroup.h"
#include "map/bookmark_catalog.hpp"
@interface MWMTagGroup (Convenience)
- (instancetype)initWithGroupData:(BookmarkCatalog::TagGroup const &)groupData;
@end
|
vicpopov/omim | iphone/CoreApi/CoreApi/DeepLink/Data/DeepLinkSubscriptionData.h | #import <Foundation/Foundation.h>
#import "DeepLinkData.h"
NS_ASSUME_NONNULL_BEGIN
@interface DeepLinkSubscriptionData : NSObject <IDeepLinkData>
@property (nonatomic, readonly) DeeplinkParsingResult result;
@property(nonatomic, readonly) NSString* groups;
- (instancetype)init:(DeeplinkParsingResult)result;
@end
... |
vicpopov/omim | platform/platform_ios.h | <filename>platform/platform_ios.h
#pragma once
#include "platform/platform.hpp"
#import <Foundation/Foundation.h>
namespace platform
{
NSDictionary<NSString *, NSString *> * const kDeviceModelsBeforeMetalDriver = @{
@"i386" : @"Simulator",
@"iPad1,1" : @"iPad WiFi",
@"iPad1,2" : @"iPad GSM",
@"iPad2,1" : @"i... |
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryCollectionView.h | <reponame>vicpopov/omim<gh_stars>1000+
#include "map/discovery/discovery_client_params.hpp"
NS_ASSUME_NONNULL_BEGIN
@interface MWMDiscoveryCollectionView : UICollectionView
@property(nonatomic) discovery::ItemType itemType;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/CoreApi/CoreApi/InappPurchase/Impl/MWMPurchaseValidation.h | #import "IMWMPurchaseValidation.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWMPurchaseValidation : NSObject <IMWMPurchaseValidation>
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithVendorId:(NSString *)vendorId;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/UI/PlacePage/PlacePageLayout/ActionBar/MWMActionBarButton.h | <reponame>vicpopov/omim
typedef NS_ENUM(NSInteger, MWMActionBarButtonType) {
MWMActionBarButtonTypeBooking,
MWMActionBarButtonTypeBookingSearch,
MWMActionBarButtonTypeBookmark,
MWMActionBarButtonTypeCall,
MWMActionBarButtonTypeDownload,
MWMActionBarButtonTypeMore,
MWMActionBarButtonTypeOpentable,
MWMAct... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/GuidesGallery/GuidesGalleryItem.h | <gh_stars>1000+
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GuidesGalleryItem : NSObject
@property(nonatomic, readonly) NSString *guideId;
@property(nonatomic, readonly) NSString *url;
@property(nonatomic, readonly) NSString *imageUrl;
@property(nonatomic, readonly) NSString *title;
@propert... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/GuidesGallery/GuidesGalleryItem+Core.h | #import "GuidesGalleryItem.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface CityGalleryItem (Core)
- (instancetype)initWithGuidesGalleryItem:(GuidesManager::GuidesGallery::Item const &)guidesGalleryItem;
@end
@interface OutdoorGalleryItem (Core)
- (instancetype)initWithGuidesGalleryItem:(Guid... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MPMRAIDInterstitialCustomEvent.h | <filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MPMRAIDInterstitialCustomEvent.h
//
// MPMRAIDInterstitialCustomEvent.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import "MPInterstitialCustomEve... |
vicpopov/omim | iphone/Maps/UI/Search/Filters/MWMSearchHotelsFilterViewController.h | #import <CoreApi/MWMTypes.h>
#import "MWMSearchFilterViewController.h"
#import "MWMHotelParams.h"
@class MWMSearchHotelsFilterViewController;
@protocol MWMSearchHotelsFilterViewControllerDelegate<NSObject>
- (void)hotelsFilterViewController:(MWMSearchHotelsFilterViewController *)viewController
di... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/Internal/MPAdPlacerInvocation.h | //
// MPAdPlacerInvocation.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
@class MPStreamAdPlacer;
/**
* A convenience class that handles a lot of the common logic when implemen... |
vicpopov/omim | iphone/Maps/Pods/MoPub-FacebookAudienceNetwork-Adapters/FacebookAudienceNetwork/FacebookRewardedVideoCustomEvent.h | <gh_stars>1000+
//
// FacebookRewardedVideoCustomEvent.h
//
// Copyright © 2017 MoPub. All rights reserved.
//
#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#elif __has_include(<MoPubSDKFramework/MoPub.h>)
#import <MoPubSDKFramework/MoPub.h>
#else
#import "MPRewardedVideoCustomEvent.h"
#endi... |
vicpopov/omim | iphone/Maps/Pods/Target Support Files/mopub-ios-sdk/mopub-ios-sdk-umbrella.h | <reponame>vicpopov/omim
#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 "MoPub_AbstractAvidAdSession.h"
#import "MoPub_AbstractAvidManagedAdSession.h"
#import "MoPub... |
vicpopov/omim | iphone/Maps/3party/MyTrackerSDK.framework/Headers/MRMyTracker.h | <filename>iphone/Maps/3party/MyTrackerSDK.framework/Headers/MRMyTracker.h
//
// MRMyTracker.h
// myTrackerSDK 1.5.3
//
// Created by <NAME> on 17.06.16.
// Copyright © 2016 Mail.ru Group. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MRMyTrackerParams;
@interface MRMyTracker : NSObject
+ (voi... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Logging/MPBLogger.h | <gh_stars>1-10
//
// MPBLogger.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPBLogLevel.h"
/**
Objects which are capable of consuming log messages.
*/
@protocol MPBLo... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcSummaryRating.h | <gh_stars>1000+
#import <Foundation/Foundation.h>
#import "UgcSummaryRatingType.h"
NS_ASSUME_NONNULL_BEGIN
@interface UgcSummaryRating : NSObject
@property(nonatomic, readonly) NSString *ratingString;
@property(nonatomic, readonly) UgcSummaryRatingType ratingType;
- (instancetype)initWithRating:(float)ratingValue;... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRooms+Core.h | <filename>iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRooms+Core.h<gh_stars>1000+
#import "HotelRooms.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface HotelRooms (Core)
- (instancetype)initWithBlocks:(booking::Blocks const &)blocks;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Core/Notifications/MWMPushNotifications.h | <filename>iphone/Maps/Core/Notifications/MWMPushNotifications.h
#import <UserNotifications/UserNotifications.h>
@interface MWMPushNotifications : NSObject
+ (void)setup;
+ (void)application:(UIApplication *)application
didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
+ (void)application:(U... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcSummaryRatingType.h | <gh_stars>1000+
typedef NS_ENUM(NSInteger, UgcSummaryRatingType) {
UgcSummaryRatingTypeNone,
UgcSummaryRatingTypeHorrible,
UgcSummaryRatingTypeBad,
UgcSummaryRatingTypeNormal,
UgcSummaryRatingTypeGood,
UgcSummaryRatingTypeExcellent
};
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPAdTargeting.h | <filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPAdTargeting.h
//
// MPAdTargeting.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
@class CLLocation;
/**
Optional targeting parameters t... |
vicpopov/omim | iphone/Maps/UI/PlacePage/MWMUGCReviewSource.h | <reponame>vicpopov/omim
typedef NS_ENUM(NSUInteger, MWMUGCReviewSource) {
MWMUGCReviewSourcePlacePage,
MWMUGCReviewSourcePlacePagePreview,
MWMUGCReviewSourceNotification
};
|
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryTableManager.h | #include "map/discovery/discovery_client_params.hpp"
#include <functional>
#include <vector>
namespace discovery
{
NSString * StatProvider(ItemType const type);
} // namespace discovery
@class MWMDiscoveryControllerViewModel;
typedef MWMDiscoveryControllerViewModel *(^MWMGetModelCallback)(void);
@protocol MWMDisc... |
vicpopov/omim | iphone/Maps/Common/Statistics/StatisticsStrings.h | static NSString *const kStat1 = @"1";
static NSString *const kStat2 = @"2";
static NSString *const kStat3 = @"3";
static NSString *const kStat3D = @"3D";
static NSString *const kStat3DBuildings = @"3D buildings";
static NSString *const kStat4 = @"4";
static NSString *const kStat5 = @"5";
static NSString *const kStat6 =... |
vicpopov/omim | iphone/Maps/Pods/MoPub-FacebookAudienceNetwork-Adapters/FacebookAudienceNetwork/FacebookBannerCustomEvent.h | //
// FacebookBannerCustomEvent.h
// MoPub
//
// Copyright (c) 2014 MoPub. All rights reserved.
//
#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#elif __has_include(<MoPubSDKFramework/MoPub.h>)
#import <MoPubSDKFramework/MoPub.h>
#else
#import "MPBannerCustomEvent.h"
#endif
@interface Face... |
vicpopov/omim | iphone/Maps/Pods/Pushwoosh/Framework/Pushwoosh.framework/Versions/A/Headers/PWRichMediaManager.h | <gh_stars>1000+
//
// PWRichMediaManager.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import "PWRichMediaStyle.h"
#endif
typedef NS_ENUM(NSUInteger, PWRichMediaSource) {
/**
RichMedia is presented from push notification.
*/
PWRichMediaSour... |
vicpopov/omim | iphone/Maps/Classes/CustomViews/NavigationDashboard/MWMNavigationDashboardManager+Entity.h | #import "MWMNavigationDashboardManager.h"
namespace routing
{
class FollowingInfo;
}
struct TransitRouteInfo;
@interface MWMNavigationDashboardManager (Entity)
- (void)updateFollowingInfo:(routing::FollowingInfo const &)info;
- (void)updateTransitInfo:(TransitRouteInfo const &)info;
@end
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/Internal/MPNativeAdConfigValues+Internal.h | //
// MPNativeAdConfigValues+Internal.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import "MPNativeAdConfigValues.h"
@interface MPNativeAdConfigValues (Internal)
- (BOOL)isValidPercentage:(NSInteger)percentage... |
vicpopov/omim | iphone/CoreApi/CoreApi/Promo/PromoAfterBookingData+Core.h | <filename>iphone/CoreApi/CoreApi/Promo/PromoAfterBookingData+Core.h<gh_stars>1000+
#include <CoreApi/Framework.h>
#import "PromoAfterBookingData.h"
NS_ASSUME_NONNULL_BEGIN
@interface PromoAfterBookingData (Core)
- (instancetype)initWithAfterBooking:(promo::AfterBooking)afterBooking;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/UI/Search/MWMSearchManager+Filter.h | #import <CoreApi/MWMTypes.h>
#import "MWMSearchManager.h"
#import "MWMSearchHotelsFilterViewController.h"
#import "MWMHotelParams.h"
@interface MWMSearchManager (Filter)<MWMSearchHotelsFilterViewControllerDelegate>
- (void)clearFilter;
- (void)showHotelFilterWithParams:(MWMHotelParams *)params
onFin... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/MPSessionTracker.h | //
// MPSessionTracker.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
@interface MPSessionTracker : NSObject
+ (void)initializeNotificationObservers;
@end
|
vicpopov/omim | iphone/Maps/Core/Routing/MWMCoreRouterType.h | #import "MWMRouterType.h"
#include "routing/router.hpp"
static inline routing::RouterType coreRouterType(MWMRouterType type)
{
switch (type)
{
case MWMRouterTypeVehicle: return routing::RouterType::Vehicle;
case MWMRouterTypePedestrian: return routing::RouterType::Pedestrian;
case MWMRouterTypePublicTranspo... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPConsentChangedReason.h | <reponame>vicpopov/omim
//
// MPConsentChangedReason.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
extern NSString * const kConsentedChangedReasonGranted;
extern NSString * const... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGPromoCardCollectionView.h | //
// MTRGPromoCardCollectionView.h
// MyTargetSDK
//
// Created by <NAME> on 02.11.16.
// Copyright © 2016 Mail.ru Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGNativePromoCard.h>
@protocol MTRGPromoCardCollectionViewDelegate <NSObject>
- (void)onCardClick:(MTRGNativePromoCard ... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/ElevationProfile/ElevationProfileData+Core.h | <reponame>vicpopov/omim
#import "ElevationProfileData.h"
#include "map/elevation_info.hpp"
NS_ASSUME_NONNULL_BEGIN
@interface ElevationProfileData (Core)
- (instancetype)initWithElevationInfo:(ElevationInfo const &)elevationInfo
serverId:(NSString *)serverId
ac... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTCompanionAd.h | //
// MPVASTCompanionAd.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "MPVASTModel.h"
@class MPVASTResource;
@class MPVASTTrackingEvent;
@interfa... |
vicpopov/omim | iphone/Maps/Core/Routing/MWMRouter.h | <filename>iphone/Maps/Core/Routing/MWMRouter.h
#import "MWMRoutePoint.h"
#import "MWMRouterType.h"
typedef NS_ENUM(NSInteger, MWMRoadType) {
MWMRoadTypeToll,
MWMRoadTypeDirty,
MWMRoadTypeFerry,
MWMRoadTypeMotorway
};
typedef void (^MWMImageHeightBlock)(UIImage *, NSString *);
@interface MWMRouter : NSObject
... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Common/MPVideoConfig.h | <gh_stars>1-10
//
// MPVideoConfig.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPVASTResponse.h"
@interface MPVideoConfig : NSObject
/**
Ad response typically contai... |
vicpopov/omim | iphone/Maps/Core/Location/GeoTracker/IMWMGeoTrackerCore.h | #import "IMWMGeoTrackerZone.h"
NS_ASSUME_NONNULL_BEGIN
@protocol IMWMGeoTrackerCore
- (NSArray<id<IMWMGeoTrackerZone>> *)geoZonesForLat:(CLLocationDegrees)lat
lon:(CLLocationDegrees)lon
accuracy:(CLLocationAccuracy) accuracy;
... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Logging/Internal/MPLogManager.h | <reponame>vicpopov/omim<filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Logging/Internal/MPLogManager.h
//
// MPLogManager.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "... |
vicpopov/omim | iphone/CoreApi/CoreApi/InappPurchase/IMWMTrialEligibility.h | <gh_stars>1000+
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, MWMCheckTrialEligibilityResult) {
MWMCheckTrialEligibilityResultEligible,
MWMCheckTrialEligibilityResultNotEligible,
MWMCheckTrialEligibilityResultServerError,
MWMCheckTrialEligibilityResultNoReceipt
};
type... |
vicpopov/omim | iphone/Maps/Pods/Pushwoosh/Framework/Pushwoosh.framework/Versions/A/Headers/PWRichMediaStyle.h | <gh_stars>1000+
//
// PWRichMediaStyle.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT NSTimeInterval const PWRichMediaStyleDefaultAnimationDuration;
/**
Interface for Rich Media Custom Animation.
*/
@protocol PWRichMediaStyleAnimationDelegate <NSObject>
/**
Thi... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcData+Core.h | <filename>iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcData+Core.h
#import "UgcData.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface UgcData (Core)
- initWithUgc:(ugc::UGC const &)ugc ugcUpdate:(ugc::UGCUpdate const &)update;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Common/MPActivityViewControllerHelper.h | //
// MPActivityViewControllerHelper.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
@protocol MPActivityViewControllerHelperDelegate;
/**
* The MPActivityViewControllerHelper provides a w... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MPRateLimitConfiguration.h | //
// MPRateLimitConfiguration.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MPRateLimitConfiguration : NSObject
/**
Returns the number of m... |
vicpopov/omim | iphone/CoreApi/CoreApi/InappPurchase/IMWMPurchaseValidation.h | <reponame>vicpopov/omim<filename>iphone/CoreApi/CoreApi/InappPurchase/IMWMPurchaseValidation.h<gh_stars>1000+
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, MWMPurchaseValidationResult) {
MWMPurchaseValidationResultValid,
MWMPurchaseValidationResultNotValid,
MWMPurchaseVal... |
vicpopov/omim | iphone/Maps/Pods/MoPub-FacebookAudienceNetwork-Adapters/FacebookAudienceNetwork/FacebookInterstitialCustomEvent.h | //
// FacebookInterstitialCustomEvent.h
// MoPub
//
// Copyright (c) 2014 MoPub. All rights reserved.
//
#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#elif __has_include(<MoPubSDKFramework/MoPub.h>)
#import <MoPubSDKFramework/MoPub.h>
#else
#import "MPInterstitialCustomEvent.h"
#endif
@in... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MWMMyTargetDelegate.h | <filename>iphone/Maps/3party/MyTarget/MWMMyTargetDelegate.h<gh_stars>1000+
#import <MyTargetSDK/MTRGAppwallBannerAdView.h>
@protocol MWMMyTargetDelegate
- (void)onAppWallRefresh;
@end
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/Internal/MPNativeAdRendererImageHandler.h | <reponame>vicpopov/omim
//
// MPNativeAdRendererImageHandler.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol MPNativeAdRendererImageHandlerDelegat... |
vicpopov/omim | iphone/Maps/Pods/Target Support Files/MoPub-FacebookAudienceNetwork-Adapters/MoPub-FacebookAudienceNetwork-Adapters-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 "FacebookAdapterConfiguration.h"
#import "FacebookBannerCustomEvent.h"
#import "FacebookInterstitialCustomEvent.h"
#i... |
vicpopov/omim | iphone/CoreApi/CoreApi/Promo/PromoAfterBookingData.h | <reponame>vicpopov/omim<gh_stars>1000+
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface PromoAfterBookingData : NSObject
@property(nonatomic, readonly) NSString *promoId;
@property(nonatomic, readonly) NSString *promoUrl;
@property(nonatomic, readonly) NSString *pictureUrl;
@property(nonatomic, r... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelBookingData+Core.h | #import "HotelBookingData.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface HotelBookingData (Core)
- (instancetype)initWithHotelInfo:(booking::HotelInfo const &)hotelInfo;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/RewardedVideo/Internal/MPPrivateRewardedVideoCustomEventDelegate.h | //
// MPPrivateRewardedVideoCustomEventDelegate.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import "MPRewardedVideoCustomEvent.h"
@class MPAdConfiguration;
@class CLLocation;
@protocol MPPrivateRewardedVideoC... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Catalog/CatalogPromoData.h | #import <Foundation/Foundation.h>
@class CatalogPromoItem;
NS_ASSUME_NONNULL_BEGIN
@interface CatalogPromoData : NSObject
@property(nonatomic, readonly) NSArray<CatalogPromoItem *> *promoItems;
@property(nonatomic, readonly, nullable) NSURL *moreUrl;
@property(nonatomic, readonly) NSString *tagsString;
@end
NS_AS... |
vicpopov/omim | iphone/CoreApi/CoreApi/Promo/PromoAfterBookingCampaignAdapter.h | <gh_stars>1000+
#import <Foundation/Foundation.h>
#import "PromoAfterBookingData.h"
NS_ASSUME_NONNULL_BEGIN
@interface PromoAfterBookingCampaignAdapter : NSObject
+ (PromoAfterBookingData*)afterBookingData;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Core/Notifications/LocalNotificationManager.h | NS_ASSUME_NONNULL_BEGIN
@class CoreNotificationWrapper;
@interface LocalNotificationManager : NSObject
+ (BOOL)shouldShowAuthNotification;
+ (void)authNotificationWasShown;
+ (CoreNotificationWrapper * _Nullable)reviewNotificationWrapper;
+ (void)reviewNotificationWasShown;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/MPNativeAdRequestTargeting.h | //
// MPNativeAdRequestTargeting.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPAdTargeting.h"
/**
The @c MPNativeAdRequestTargeting class is used to attach targeting ... |
vicpopov/omim | iphone/Maps/Core/Location/GeoTracker/Impl/MWMGeoTrackerCore.h | #import "IMWMGeoTrackerCore.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWMGeoTrackerCore : NSObject<IMWMGeoTrackerCore>
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/MWMUTM+Core.h | #import "partners_api/utm.hpp"
#import <Foundation/Foundation.h>
#import "MWMUTM.h"
static inline UTM toUTM(MWMUTM utm)
{
switch (utm)
{
case MWMUTMNone: return UTM::None;
case MWMUTMBookmarksPageCatalogButton: return UTM::BookmarksPageCatalogButton;
case MWMUTMToolbarButton: return UTM::ToolbarButton;
c... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGInstreamAdCompanionBanner.h | <gh_stars>1000+
//
// MTRGInstreamAdCompanionBanner.h
// MyTargetSDK
//
// Created by <NAME> on 14.12.16.
// Copyright © 2016 Mail.ru Group. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MTRGInstreamAdCompanionBanner : NSObject
@property(nonatomic) NSUInteger width;
@property(nonatomic) NS... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/Protocols/MPMediaFileCache.h | //
// MPMediaFileCache.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#ifndef MPMediaFileCache_h
#define MPMediaFileCache_h
#import <Foundation/Foundation.h>
#import "MPVASTMediaFile.h"
NS_ASSUME_NONNULL_BEGIN
/... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MWMMyTarget.h | <gh_stars>1000+
#import "MWMMyTargetDelegate.h"
@interface MWMMyTarget : NSObject
+ (MWMMyTarget *)manager;
+ (void)startAdServerForbiddenCheckTimer;
@property(weak, nonatomic) id<MWMMyTargetDelegate> delegate;
@property(nonatomic, readonly) NSUInteger bannersCount;
- (MTRGNativeAppwallBanner *)bannerAtIndex:(NSUIn... |
vicpopov/omim | iphone/CoreApi/CoreApi/GuidesGallery/MWMGuidesManager.h | #import <Foundation/Foundation.h>
@class GuidesGalleryItem;
NS_ASSUME_NONNULL_BEGIN
typedef void(^GalleryChangedBlock)(bool reloadGallery);
NS_SWIFT_NAME(GuidesManager)
@interface MWMGuidesManager : NSObject
+ (instancetype)sharedManager;
- (NSString *)activeGuideId;
- (NSArray<GuidesGalleryItem *> *)galleryItems;... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGStarsRatingLabel.h | <reponame>vicpopov/omim<gh_stars>1000+
//
// MTRGStarsRatingLabel.h
// MyTargetSDK
//
// Created by <NAME> on 27.01.17.
// Copyright © 2017 Mail.ru Group. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MTRGStarsRatingLabel : UILabel
- (instancetype)initWithRating:(NSNumber *)rating; //rating in inter... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Catalog/CatalogPromoItem.h | <gh_stars>1000+
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface CatalogPromoItem : NSObject
@property(nonatomic, readonly) NSString *placeTitle;
@property(nonatomic, readonly) NSString *placeDescription;
@property(nonatomic, readonly) NSString *imageUrl;
@property(nonatomic, readonly) NSString *... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGContentStreamCardAdView.h | //
// MTRGContentStreamCardAdView.h
// myTarget
//
// Created by <NAME> on 20.10.16.
// Copyright © 2016 Mail.ru. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGPromoCardViewProtocol.h>
#import <MyTargetSDK/MTRGMediaAdView.h>
@interface MTRGContentStreamCardAdView : UICollectionViewCell ... |
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryTapDelegate.h | #include "map/discovery/discovery_client_params.hpp"
@protocol MWMDiscoveryTapDelegate<NSObject>
- (void)tapOnItem:(discovery::ItemType const)type atIndex:(NSInteger)index;
- (void)routeToItem:(discovery::ItemType const)type atIndex:(NSInteger)index;
- (void)openURLForItem:(discovery::ItemType const)type atIndex:(NSI... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Catalog/CatalogPromoItem+Core.h | <reponame>vicpopov/omim<gh_stars>1000+
#import "CatalogPromoItem.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface CatalogPromoItem (Core)
- (instancetype)initWithCoreItem:(promo::CityGallery::Item const &)item;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/MWMUTM.h | // These enumerations must correspond to C++ enumeration in partners_api/utm.hpp.
typedef NS_ENUM(NSInteger, MWMUTM) {
MWMUTMNone = 0,
MWMUTMBookmarksPageCatalogButton,
MWMUTMToolbarButton,
MWMUTMDownloadMwmBanner,
MWMUTMLargeToponymsPlacepageGallery,
MWMUTMSightseeingsPlacepageGallery,
MWMUTMDiscoveryPag... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/MPTimer.h | //
// MPTimer.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* @c MPTimer is a thread safe @c NSTimer wrapper, with pause / resume functionality.
*/... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MRError.h | //
// MRError.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
extern NSString * const MoPubMRAIDAdsSDKDomain;
enum {
MRErrorMRAIDJSNotFound
};
typedef NSInteger MRErrorCode;
|
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/Tags/MWMTag+Convenience.h | #import "MWMTag.h"
#include "map/bookmark_catalog.hpp"
@interface MWMTag (Convenience)
- (instancetype)initWithTagData:(BookmarkCatalog::Tag const &)tagData;
@end
|
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryController.h | #import "MWMViewController.h"
@interface MWMDiscoveryController : MWMViewController
+ (instancetype)instanceWithConnection:(BOOL)connection;
@end
|
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageInfoData.h | #import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, PlacePageDataLocalAdsStatus) {
PlacePageDataLocalAdsStatusNotAvailable,
PlacePageDataLocalAdsStatusCandidate,
PlacePageDataLocalAdsStatusCustomer,
PlacePageDataLocalAdsStatusHidden
};
@class OpeningHours;
NS_ASSUME_NONNULL_BEGIN
@interface PlacePa... |
vicpopov/omim | iphone/Maps/Pods/AppsFlyerFramework/AppsFlyerLib.framework/Versions/A/Headers/AppsFlyerCrossPromotionHelper.h | <reponame>vicpopov/omim
//
// CrossPromotionHelper.h
// AppsFlyerLib
//
// Created by <NAME> on 27/01/2017.
//
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
AppsFlyer allows you to track and attribute installs originating
from cross promotion campaigns of your existing... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGContentWallAdView.h | //
// MTRGContentWallAdView.h
// myTargetSDK 4.6.15
//
// Created by <NAME> on 05.12.14.
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGNativePromoBanner.h>
#import <MyTargetSDK/MTRGMediaAdView.h>
@interface MTRGContentWallAdView : UIView
@property(n... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTTrackingEvent.h | //
// MPVASTTrackingEvent.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPVASTModel.h"
// To learn more about these events, please see VAST documentation:
// https:... |
vicpopov/omim | iphone/Maps/Core/Subscriptions/MWMPurchaseManager.h | <reponame>vicpopov/omim<filename>iphone/Maps/Core/Subscriptions/MWMPurchaseManager.h
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, MWMValidationResult) {
MWMValidationResultValid,
MWMValidationResultNotValid,
MWMValidationResultServerError,
MWMValidationResultAuthError
... |
vicpopov/omim | iphone/Maps/Core/Notifications/CoreNotificationWrapper.h | #import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface CoreNotificationWrapper : NSObject
@property(nonatomic, copy) NSString *bestType;
@property(nonatomic, copy) NSString *defaultName;
@property(nonatomic, copy) NSString *readableName;
@property(nonatomic, copy) NSString *address;
@property(nonatomic... |
ZaidPathan/ZDesignable | ZDesignable/ZDesignableFramework/ZDesignableFramework.h | <gh_stars>0
//
// ZDesignableFramework.h
// ZDesignableFramework
//
// Created by <NAME> on 14/04/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for ZDesignableFramework.
FOUNDATION_EXPORT double ZDesignableFrameworkVersionNumber;
//! Project version st... |
myrjola/margames | src/martet/board.c | // the board where the gameplay happens and some related functions.
#include "tetbase.h"
static char** board = NULL;
// board_create: creates the board represented as char array[20][10]
// space is empty other chars represent colors
void board_create(void){
int i;
char emptyrow[] = " ";
// alloca... |
myrjola/margames | src/martet/tetgfx.h | <reponame>myrjola/margames
// simple tile graphics engine for martet
#include <SDL/SDL.h>
#include "../gamefunc/gfx/imagefunc.h"
#include "../gamefunc/input/keyeventinput.h"
#include "../gamefunc/misc/miscutils.h"
#include "../gamefunc/misc/simplemenu.h"
#include "tetbase.h"
#ifndef TILEGFX_H
#define TILEGFX_H
SDL_S... |
myrjola/margames | src/gamefunc/misc/simplemenu.c | <reponame>myrjola/margames
#include <string.h>
#include "simplemenu.h"
struct Menu* menu_create() {
struct Menu* menu = (struct Menu*) malloc(sizeof(struct Menu));
menu->elements = (struct MenuElement*) calloc(20, sizeof(struct MenuElement));
menu->active_element = NULL;
menu->length = 0;
return me... |
myrjola/margames | src/gamefunc/misc/simplemenu.h | // simple menu system
#include <stdlib.h>
#include "SDL/SDL.h"
#include "../gfx/imagefunc.h"
#ifndef SIMPLEMENU_H_
#define SIMPLEMENU_H_
struct MenuElement {
char* text;
int index;
struct MenuElement* previous;
struct MenuElement* next;
int active;
};
struct Menu {
struct MenuElement* element... |
myrjola/margames | src/gamefunc/input/keyeventinput.c | #include "keyeventinput.h"
int process_key_events(void* object, int (*action)(char, void*)){
SDL_Event event;
// Poll for events.
if (SDL_PollEvent(&event)){
if (event.type == SDL_KEYDOWN){
// Call the action function.
switch(event.key.keysym.sym){
case SDLK_... |
myrjola/margames | src/gamefunc/misc/score.c | <filename>src/gamefunc/misc/score.c
#include "score.h"
struct Score* get_hiscores() {
FILE* fp;
struct Score* hiscores = (struct Score*) calloc(SCORE_TABLE_LENGTH,
sizeof(struct Score));
int i;
if((fp = fopen("scores.dat", "rb")) == NULL) {
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.