| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_FILE_VERSION_INFO_H__ | 5 #ifndef BASE_FILE_VERSION_INFO_H__ |
| 6 #define BASE_FILE_VERSION_INFO_H__ | 6 #define BASE_FILE_VERSION_INFO_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 | 13 |
| 14 #ifdef OS_MACOSX | 14 #if defined(OS_WIN) |
| 15 struct tagVS_FIXEDFILEINFO; |
| 16 typedef tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO; |
| 17 #elif defined(OS_MACOSX) |
| 15 #ifdef __OBJC__ | 18 #ifdef __OBJC__ |
| 16 @class NSBundle; | 19 @class NSBundle; |
| 17 #else | 20 #else |
| 18 class NSBundle; | 21 class NSBundle; |
| 19 #endif | 22 #endif |
| 20 #endif | 23 #endif |
| 21 | 24 |
| 22 // Provides a way to access the version information for a file. | 25 // Provides a way to access the version information for a file. |
| 23 // This is the information you access when you select a file in the Windows | 26 // This is the information you access when you select a file in the Windows |
| 24 // explorer, right-click select Properties, then click the Version tab. | 27 // explorer, right-click select Properties, then click the Version tab. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 NSBundle *bundle_; | 88 NSBundle *bundle_; |
| 86 #elif defined(OS_LINUX) | 89 #elif defined(OS_LINUX) |
| 87 FileVersionInfo(); | 90 FileVersionInfo(); |
| 88 #endif | 91 #endif |
| 89 | 92 |
| 90 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); | 93 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); |
| 91 }; | 94 }; |
| 92 | 95 |
| 93 #endif // BASE_FILE_VERSION_INFO_H__ | 96 #endif // BASE_FILE_VERSION_INFO_H__ |
| 94 | 97 |
| OLD | NEW |