本文整理汇总了C++中uSStrong::SetLiterals方法的典型用法代码示例。如果您正苦于以下问题:C++ uSStrong::SetLiterals方法的具体用法?C++ uSStrong::SetLiterals怎么用?C++ uSStrong::SetLiterals使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类uSStrong
的用法示例。
在下文中一共展示了uSStrong::SetLiterals方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UIControlEvents_typeof
// public enum UIControlEvents :9638
uEnumType* UIControlEvents_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.UIKit.UIControlEvents", ::g::Uno::UInt_typeof(), 19);
type->SetLiterals(
"UIControlEventTouchDown", 1LL,
"UIControlEventTouchDownRepeat", 2LL,
"UIControlEventTouchDragInside", 4LL,
"UIControlEventTouchDragOutside", 8LL,
"UIControlEventTouchDragEnter", 16LL,
"UIControlEventTouchDragExit", 32LL,
"UIControlEventTouchUpInside", 64LL,
"UIControlEventTouchUpOutside", 128LL,
"UIControlEventTouchCancel", 256LL,
"UIControlEventValueChanged", 4096LL,
"UIControlEventEditingDidBegin", 65536LL,
"UIControlEventEditingChanged", 131072LL,
"UIControlEventEditingDidEnd", 262144LL,
"UIControlEventEditingDidEndOnExit", 524288LL,
"UIControlEventAllTouchEvents", 4095LL,
"UIControlEventAllEditingEvents", 983040LL,
"UIControlEventApplicationReserved", 251658240LL,
"UIControlEventSystemReserved", 4026531840LL,
"UIControlEventAllEvents", 4294967295LL);
return type;
}
示例2: ProtocolType_typeof
// public enum ProtocolType :615
uEnumType* ProtocolType_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Net.Sockets.ProtocolType", ::g::Uno::Int_typeof(), 1);
type->SetLiterals(
"Tcp", 6LL);
return type;
}
示例3: AddressFamily_typeof
// public enum AddressFamily :603
uEnumType* AddressFamily_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Net.Sockets.AddressFamily", ::g::Uno::Int_typeof(), 1);
type->SetLiterals(
"InterNetwork", 2LL);
return type;
}
示例4: SocketType_typeof
// public enum SocketType :609
uEnumType* SocketType_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Net.Sockets.SocketType", ::g::Uno::Int_typeof(), 1);
type->SetLiterals(
"Stream", 1LL);
return type;
}
示例5: UITextStorageDirection_typeof
// public enum UITextStorageDirection :11125
uEnumType* UITextStorageDirection_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.UIKit.UITextStorageDirection", ::g::Uno::Int_typeof(), 2);
type->SetLiterals(
"UITextStorageDirectionForward", 0LL,
"UITextStorageDirectionBackward", 1LL);
return type;
}
示例6: StatusBarStyle_typeof
// public enum StatusBarStyle :301
uEnumType* StatusBarStyle_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Platform.iOS.StatusBarStyle", ::g::Uno::Int_typeof(), 2);
type->SetLiterals(
"Dark", 0LL,
"Light", 1LL);
return type;
}
示例7: StatusBarAnimation_typeof
// public enum StatusBarAnimation :307
uEnumType* StatusBarAnimation_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Platform.iOS.StatusBarAnimation", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"None", 0LL,
"Fade", 1LL,
"Slide", 2LL);
return type;
}
示例8: CLRegionState_typeof
// public enum CLRegionState :2910
uEnumType* CLRegionState_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.CoreLocation.CLRegionState", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"CLRegionStateUnknown", 0LL,
"CLRegionStateInside", 1LL,
"CLRegionStateOutside", 2LL);
return type;
}
示例9: TouchAction_typeof
// internal enum TouchAction :12
uEnumType* TouchAction_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Fuse.Android.Controls.TouchAction", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"DOWN", 0LL,
"UP", 1LL,
"MOVE", 2LL);
return type;
}
示例10: SocketShutdown_typeof
// public enum SocketShutdown :629
uEnumType* SocketShutdown_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Net.Sockets.SocketShutdown", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"Receive", 0LL,
"Send", 1LL,
"Both", 2LL);
return type;
}
示例11: SelectMode_typeof
// public enum SelectMode :621
uEnumType* SelectMode_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("Uno.Net.Sockets.SelectMode", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"Read", 0LL,
"Write", 1LL,
"Error", 2LL);
return type;
}
示例12: UIImagePickerControllerSourceType_typeof
// public enum UIImagePickerControllerSourceType :10040
uEnumType* UIImagePickerControllerSourceType_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.UIKit.UIImagePickerControllerSourceType", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"UIImagePickerControllerSourceTypePhotoLibrary", 0LL,
"UIImagePickerControllerSourceTypeCamera", 1LL,
"UIImagePickerControllerSourceTypeSavedPhotosAlbum", 2LL);
return type;
}
示例13: UITextWritingDirection_typeof
// public enum UITextWritingDirection :11140
uEnumType* UITextWritingDirection_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.UIKit.UITextWritingDirection", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"UITextWritingDirectionNatural", -1LL,
"UITextWritingDirectionLeftToRight", 0LL,
"UITextWritingDirectionRightToLeft", 1LL);
return type;
}
示例14: EAGLRenderingAPI_typeof
// public enum EAGLRenderingAPI :3641
uEnumType* EAGLRenderingAPI_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.OpenGLES.EAGLRenderingAPI", ::g::Uno::UInt_typeof(), 3);
type->SetLiterals(
"kEAGLRenderingAPIOpenGLES1", 1LL,
"kEAGLRenderingAPIOpenGLES2", 2LL,
"kEAGLRenderingAPIOpenGLES3", 3LL);
return type;
}
示例15: UITextSpellCheckingType_typeof
// public enum UITextSpellCheckingType :11109
uEnumType* UITextSpellCheckingType_typeof()
{
static uSStrong<uEnumType*> type;
if (type != NULL) return type;
type = uEnumType::New("iOS.UIKit.UITextSpellCheckingType", ::g::Uno::Int_typeof(), 3);
type->SetLiterals(
"UITextSpellCheckingTypeDefault", 0LL,
"UITextSpellCheckingTypeNo", 1LL,
"UITextSpellCheckingTypeYes", 2LL);
return type;
}