Mercurial > hg > easyhg
view common_osx.mm @ 200:8c8c04bdf0fa
* Separate out the hg test action into two tests, one for plain hg and one with the extension (so can report separately)
author | Chris Cannam |
---|---|
date | Tue, 04 Jan 2011 12:42:28 +0000 |
parents | 68aebc316898 |
children |
line wrap: on
line source
#include "common.h" #include <QString> #ifdef Q_OS_MAC #include <Foundation/Foundation.h> QString getUserRealName() { NSString *s = NSFullUserName(); return QString::fromLocal8Bit([s UTF8String]); } #endif