mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-04-26 20:34:31 +00:00
20 lines
430 B
Objective-C
20 lines
430 B
Objective-C
//
|
|
// ConversionStdString.h
|
|
// MacDependency
|
|
//
|
|
// Created by Konrad Windszus on 17.07.09.
|
|
// Copyright 2009 Konrad Windszus. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#include <string>
|
|
|
|
@interface NSString (ConversionStdString)
|
|
|
|
+ (NSString*) stringWithStdString:(const std::string&)string;
|
|
- (std::string) stdString;
|
|
+ (NSString*) stringWithStdWString:(const std::wstring&)string;
|
|
- (std::wstring) stdWString;
|
|
@end
|