mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-26 22:00:29 +00:00
Add InternationalSupport Stubs
This commit is contained in:
parent
6bbbefebe6
commit
126750fabd
@ -0,0 +1 @@
|
||||
Versions/A/Headers
|
@ -0,0 +1 @@
|
||||
../../../../../../../../../../../../src/private-frameworks/InternationalSupport/include/InternationalSupport
|
@ -0,0 +1 @@
|
||||
A
|
1
framework-private-include/InternationalSupport
Symbolic link
1
framework-private-include/InternationalSupport
Symbolic link
@ -0,0 +1 @@
|
||||
../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks/InternationalSupport.framework/Headers
|
@ -23,6 +23,7 @@ add_subdirectory(DeviceLink)
|
||||
add_subdirectory(DiskImages)
|
||||
add_subdirectory(DiskManagement)
|
||||
add_subdirectory(Espresso)
|
||||
add_subdirectory(InternationalSupport)
|
||||
add_subdirectory(IOPlatformPluginFamily)
|
||||
add_subdirectory(kperf)
|
||||
add_subdirectory(LoggingSupport)
|
||||
|
34
src/private-frameworks/InternationalSupport/CMakeLists.txt
Normal file
34
src/private-frameworks/InternationalSupport/CMakeLists.txt
Normal file
@ -0,0 +1,34 @@
|
||||
project(InternationalSupport)
|
||||
|
||||
remove_sdk_framework(InternationalSupport
|
||||
PRIVATE
|
||||
)
|
||||
|
||||
set(DYLIB_COMPAT_VERSION "1.0.0")
|
||||
set(DYLIB_CURRENT_VERSION "69.1.0")
|
||||
|
||||
set(FRAMEWORK_VERSION "A")
|
||||
|
||||
generate_sdk_framework(InternationalSupport
|
||||
PRIVATE
|
||||
VERSION ${FRAMEWORK_VERSION}
|
||||
HEADER "include/InternationalSupport"
|
||||
)
|
||||
|
||||
|
||||
add_framework(InternationalSupport
|
||||
PRIVATE
|
||||
FAT
|
||||
CURRENT_VERSION
|
||||
VERSION ${FRAMEWORK_VERSION}
|
||||
|
||||
SOURCES
|
||||
src/ISUtilities.m
|
||||
src/NSLocale+InternationalSupportExtensions.m
|
||||
src/NSBundle+InternationalSupportExtensions.m
|
||||
|
||||
DEPENDENCIES
|
||||
system
|
||||
objc
|
||||
Foundation
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
@interface ISUtilities : NSObject
|
||||
|
||||
@end
|
@ -0,0 +1,30 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _INTERNATIONALSUPPORT_H_
|
||||
#define _INTERNATIONALSUPPORT_H_
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <InternationalSupport/ISUtilities.h>
|
||||
#import <InternationalSupport/NSBundle+InternationalSupportExtensions.h>
|
||||
#import <InternationalSupport/NSLocale+InternationalSupportExtensions.h>
|
||||
|
||||
#endif
|
||||
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
@interface NSBundle (InternationalSupportExtensions)
|
||||
|
||||
@end
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
@interface NSLocale (InternationalSupportExtensions)
|
||||
|
||||
@end
|
@ -0,0 +1,34 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <InternationalSupport/ISUtilities.h>
|
||||
|
||||
@implementation ISUtilities
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <InternationalSupport/NSBundle+InternationalSupportExtensions.h>
|
||||
|
||||
@implementation NSBundle (InternationalSupportExtensions)
|
||||
|
||||
@end
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of Darling.
|
||||
|
||||
Copyright (C) 2022 Darling Team
|
||||
|
||||
Darling is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Darling is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <InternationalSupport/NSLocale+InternationalSupportExtensions.h>
|
||||
|
||||
@implementation NSLocale (InternationalSupportExtensions)
|
||||
|
||||
@end
|
Loading…
Reference in New Issue
Block a user