From: Cheng Zhao Date: Thu, 2 May 2013 15:03:14 +0000 (+0800) Subject: Add _mac suffix for obj-c files. X-Git-Tag: v0.1.0~219 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8cf105073044cd633ea983d7cd05509911eb8486;p=electron.git Add _mac suffix for obj-c files. --- diff --git a/atom.gyp b/atom.gyp index 0ed0ea98..ae24c3cc 100644 --- a/atom.gyp +++ b/atom.gyp @@ -31,10 +31,10 @@ 'browser/api/atom_api_window.h', 'browser/api/atom_browser_bindings.cc', 'browser/api/atom_browser_bindings.h', - 'browser/atom_application.h', - 'browser/atom_application.mm', - 'browser/atom_application_delegate.h', - 'browser/atom_application_delegate.mm', + 'browser/atom_application_mac.h', + 'browser/atom_application_mac.mm', + 'browser/atom_application_delegate_mac.h', + 'browser/atom_application_delegate_mac.mm', 'browser/atom_browser_client.cc', 'browser/atom_browser_client.h', 'browser/atom_browser_context.cc', diff --git a/browser/atom_application_delegate.h b/browser/atom_application_delegate_mac.h similarity index 100% rename from browser/atom_application_delegate.h rename to browser/atom_application_delegate_mac.h diff --git a/browser/atom_application_delegate.mm b/browser/atom_application_delegate_mac.mm similarity index 88% rename from browser/atom_application_delegate.mm rename to browser/atom_application_delegate_mac.mm index b26199db..87de8b95 100644 --- a/browser/atom_application_delegate.mm +++ b/browser/atom_application_delegate_mac.mm @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#import "browser/atom_application_delegate.h" +#import "browser/atom_application_delegate_mac.h" -#import "browser/atom_application.h" +#import "browser/atom_application_mac.h" @implementation AtomApplicationDelegate diff --git a/browser/atom_application.h b/browser/atom_application_mac.h similarity index 100% rename from browser/atom_application.h rename to browser/atom_application_mac.h diff --git a/browser/atom_application.mm b/browser/atom_application_mac.mm similarity index 95% rename from browser/atom_application.mm rename to browser/atom_application_mac.mm index d52e835d..dbc13a79 100644 --- a/browser/atom_application.mm +++ b/browser/atom_application_mac.mm @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#import "browser/atom_application.h" +#import "browser/atom_application_mac.h" #include "base/auto_reset.h" #include "base/logging.h" diff --git a/browser/atom_browser_main_parts_mac.mm b/browser/atom_browser_main_parts_mac.mm index 2f452e03..1bdbe052 100644 --- a/browser/atom_browser_main_parts_mac.mm +++ b/browser/atom_browser_main_parts_mac.mm @@ -5,8 +5,8 @@ #include "browser/atom_browser_main_parts.h" #import "base/mac/bundle_locations.h" -#import "browser/atom_application.h" -#import "browser/atom_application_delegate.h" +#import "browser/atom_application_mac.h" +#import "browser/atom_application_delegate_mac.h" namespace atom {