diff options
Diffstat (limited to 'app')
71 files changed, 71 insertions, 0 deletions
diff --git a/app/active_window_watcher_x.h b/app/active_window_watcher_x.h index 0934ad4..642b63d 100644 --- a/app/active_window_watcher_x.h +++ b/app/active_window_watcher_x.h @@ -4,6 +4,7 @@ #ifndef APP_ACTIVE_WINDOW_WATCHER_X_H_ #define APP_ACTIVE_WINDOW_WATCHER_X_H_ +#pragma once #include <gdk/gdk.h> diff --git a/app/animation.h b/app/animation.h index 5c672c9..8433f29 100644 --- a/app/animation.h +++ b/app/animation.h @@ -4,6 +4,7 @@ #ifndef APP_ANIMATION_H_ #define APP_ANIMATION_H_ +#pragma once #include "app/animation_container.h" #include "base/ref_counted.h" diff --git a/app/animation_container.h b/app/animation_container.h index 98abf28..467e246 100644 --- a/app/animation_container.h +++ b/app/animation_container.h @@ -4,6 +4,7 @@ #ifndef APP_ANIMATION_CONTAINER_H_ #define APP_ANIMATION_CONTAINER_H_ +#pragma once #include <set> diff --git a/app/app_paths.h b/app/app_paths.h index 2371377..3625b70 100644 --- a/app/app_paths.h +++ b/app/app_paths.h @@ -4,6 +4,7 @@ #ifndef APP_APP_PATHS_H_ #define APP_APP_PATHS_H_ +#pragma once // This file declares path keys for the app module. These can be used with // the PathService to access various special directories and files. diff --git a/app/app_switches.h b/app/app_switches.h index b80d74b..a5806b5 100644 --- a/app/app_switches.h +++ b/app/app_switches.h @@ -6,6 +6,7 @@ #ifndef APP_APP_SWITCHES_H_ #define APP_APP_SWITCHES_H_ +#pragma once namespace switches { diff --git a/app/bidi_line_iterator.h b/app/bidi_line_iterator.h index 5f2f7e0..178d775 100644 --- a/app/bidi_line_iterator.h +++ b/app/bidi_line_iterator.h @@ -4,6 +4,7 @@ #ifndef APP_BIDI_LINE_ITERATOR_H_ #define APP_BIDI_LINE_ITERATOR_H_ +#pragma once #include <string> diff --git a/app/clipboard/clipboard.h b/app/clipboard/clipboard.h index 0c0e5b7..570bec9 100644 --- a/app/clipboard/clipboard.h +++ b/app/clipboard/clipboard.h @@ -4,6 +4,7 @@ #ifndef APP_CLIPBOARD_CLIPBOARD_H_ #define APP_CLIPBOARD_CLIPBOARD_H_ +#pragma once #include <map> #include <string> diff --git a/app/clipboard/clipboard_util_win.h b/app/clipboard/clipboard_util_win.h index 7bedb51..7283e33 100644 --- a/app/clipboard/clipboard_util_win.h +++ b/app/clipboard/clipboard_util_win.h @@ -6,6 +6,7 @@ #ifndef APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ #define APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ +#pragma once #include <shlobj.h> #include <string> diff --git a/app/clipboard/scoped_clipboard_writer.h b/app/clipboard/scoped_clipboard_writer.h index 73edab8..5622114 100644 --- a/app/clipboard/scoped_clipboard_writer.h +++ b/app/clipboard/scoped_clipboard_writer.h @@ -10,6 +10,7 @@ #ifndef APP_CLIPBOARD_SCOPED_CLIPBOARD_WRITER_H_ #define APP_CLIPBOARD_SCOPED_CLIPBOARD_WRITER_H_ +#pragma once #include <string> #include <vector> diff --git a/app/combobox_model.h b/app/combobox_model.h index 514e712..0159014 100644 --- a/app/combobox_model.h +++ b/app/combobox_model.h @@ -4,6 +4,7 @@ #ifndef APP_COMBOBOX_MODEL_H_ #define APP_COMBOBOX_MODEL_H_ +#pragma once #include <string> diff --git a/app/download_file_interface.h b/app/download_file_interface.h index 13d2dcf..ab90786 100644 --- a/app/download_file_interface.h +++ b/app/download_file_interface.h @@ -4,6 +4,7 @@ #ifndef APP_DOWNLOAD_FILE_INTERFACE_H_ #define APP_DOWNLOAD_FILE_INTERFACE_H_ +#pragma once #include "build/build_config.h" diff --git a/app/drag_drop_types.h b/app/drag_drop_types.h index c3b2692..74472f8 100644 --- a/app/drag_drop_types.h +++ b/app/drag_drop_types.h @@ -4,6 +4,7 @@ #ifndef APP_DRAG_DROP_TYPES_H_ #define APP_DRAG_DROP_TYPES_H_ +#pragma once #include "build/build_config.h" diff --git a/app/gfx/font_util.h b/app/gfx/font_util.h index 29caeb4..c7c3e97 100644 --- a/app/gfx/font_util.h +++ b/app/gfx/font_util.h @@ -4,6 +4,7 @@ #ifndef APP_GFX_FONT_UTIL_H_ #define APP_GFX_FONT_UTIL_H_ +#pragma once #include "gfx/size.h" diff --git a/app/gfx/gl/gl_bindings.h b/app/gfx/gl/gl_bindings.h index e384bfd..6f37a42 100644 --- a/app/gfx/gl/gl_bindings.h +++ b/app/gfx/gl/gl_bindings.h @@ -9,6 +9,7 @@ #ifndef APP_GFX_GL_GL_BINDINGS_H_ #define APP_GFX_GL_GL_BINDINGS_H_ +#pragma once #include <GL/gl.h> #include <GL/glext.h> diff --git a/app/gfx/gl/gl_context.h b/app/gfx/gl/gl_context.h index 34819b8..e14e7460 100644 --- a/app/gfx/gl/gl_context.h +++ b/app/gfx/gl/gl_context.h @@ -4,6 +4,7 @@ #ifndef APP_GFX_GL_GL_CONTEXT_H_ #define APP_GFX_GL_GL_CONTEXT_H_ +#pragma once #include "base/logging.h" #include "build/build_config.h" diff --git a/app/gfx/gl/gl_context_egl.h b/app/gfx/gl/gl_context_egl.h index 0681b3d..3f1884b 100644 --- a/app/gfx/gl/gl_context_egl.h +++ b/app/gfx/gl/gl_context_egl.h @@ -4,6 +4,7 @@ #ifndef APP_GFX_GL_GL_CONTEXT_EGL_H_ #define APP_GFX_GL_GL_CONTEXT_EGL_H_ +#pragma once #include "gfx/size.h" #include "app/gfx/gl/gl_context.h" diff --git a/app/gfx/gl/gl_context_osmesa.h b/app/gfx/gl/gl_context_osmesa.h index 2359ba6..89c927b 100644 --- a/app/gfx/gl/gl_context_osmesa.h +++ b/app/gfx/gl/gl_context_osmesa.h @@ -4,6 +4,7 @@ #ifndef APP_GFX_GL_GL_CONTEXT_OSMESA_H_ #define APP_GFX_GL_GL_CONTEXT_OSMESA_H_ +#pragma once #include "base/scoped_ptr.h" #include "gfx/size.h" diff --git a/app/gfx/gl/gl_context_stub.h b/app/gfx/gl/gl_context_stub.h index f7b6044..222bf7b 100644 --- a/app/gfx/gl/gl_context_stub.h +++ b/app/gfx/gl/gl_context_stub.h @@ -6,6 +6,7 @@ #ifndef APP_GFX_GL_GL_CONTEXT_STUB_H_ #define APP_GFX_GL_GL_CONTEXT_STUB_H_ +#pragma once #include "app/gfx/gl/gl_context.h" diff --git a/app/gfx/gl/gl_implementation.h b/app/gfx/gl/gl_implementation.h index 85cbfa2..1b016b4 100644 --- a/app/gfx/gl/gl_implementation.h +++ b/app/gfx/gl/gl_implementation.h @@ -4,6 +4,7 @@ #ifndef APP_GFX_GL_GL_IMPLEMENTATION_H_ #define APP_GFX_GL_GL_IMPLEMENTATION_H_ +#pragma once #include <string> diff --git a/app/gfx/gl/gl_interface.h b/app/gfx/gl/gl_interface.h index 2c9a6fb..9e1fc10 100644 --- a/app/gfx/gl/gl_interface.h +++ b/app/gfx/gl/gl_interface.h @@ -8,6 +8,7 @@ #ifndef APP_GFX_GL_GL_INTERFACE_H_ #define APP_GFX_GL_GL_INTERFACE_H_ +#pragma once #include "app/gfx/gl/gl_bindings.h" diff --git a/app/gfx/gl/gl_mock.h b/app/gfx/gl/gl_mock.h index 47e048d..2a06fdf 100644 --- a/app/gfx/gl/gl_mock.h +++ b/app/gfx/gl/gl_mock.h @@ -7,6 +7,7 @@ #ifndef APP_GFX_GL_GL_MOCK_H_ #define APP_GFX_GL_GL_MOCK_H_ +#pragma once #include "app/gfx/gl/gl_interface.h" #include "testing/gmock/include/gmock/gmock.h" diff --git a/app/gtk_dnd_util.h b/app/gtk_dnd_util.h index 578a026..79ae2a5 100644 --- a/app/gtk_dnd_util.h +++ b/app/gtk_dnd_util.h @@ -4,6 +4,7 @@ #ifndef APP_GTK_DND_UTIL_H_ #define APP_GTK_DND_UTIL_H_ +#pragma once #include <gtk/gtk.h> diff --git a/app/gtk_integers.h b/app/gtk_integers.h index 7a95847..6bc6013 100644 --- a/app/gtk_integers.h +++ b/app/gtk_integers.h @@ -4,6 +4,7 @@ #ifndef APP_GTK_INTEGERS_H_ #define APP_GTK_INTEGERS_H_ +#pragma once // GLib/Gobject/Gtk all use their own integer typedefs. They are copied here // for forward declaration reasons so we don't pull in all of gtk.h when we diff --git a/app/gtk_signal.h b/app/gtk_signal.h index a3d5f7a..5d3defe 100644 --- a/app/gtk_signal.h +++ b/app/gtk_signal.h @@ -4,6 +4,7 @@ #ifndef APP_GTK_SIGNAL_H_ #define APP_GTK_SIGNAL_H_ +#pragma once typedef void* gpointer; typedef struct _GtkWidget GtkWidget; diff --git a/app/gtk_signal_registrar.h b/app/gtk_signal_registrar.h index 3f14dbe..b69aa43 100644 --- a/app/gtk_signal_registrar.h +++ b/app/gtk_signal_registrar.h @@ -4,6 +4,7 @@ #ifndef APP_GTK_SIGNAL_REGISTRAR_H_ #define APP_GTK_SIGNAL_REGISTRAR_H_ +#pragma once #include <glib.h> #include <map> diff --git a/app/gtk_util.h b/app/gtk_util.h index 51b9a06..63b0e47 100644 --- a/app/gtk_util.h +++ b/app/gtk_util.h @@ -4,6 +4,7 @@ #ifndef APP_GTK_UTIL_H_ #define APP_GTK_UTIL_H_ +#pragma once #include <stdint.h> #include <string> diff --git a/app/hi_res_timer_manager.h b/app/hi_res_timer_manager.h index 17a0522..7eed795 100644 --- a/app/hi_res_timer_manager.h +++ b/app/hi_res_timer_manager.h @@ -4,6 +4,7 @@ #ifndef APP_HI_RES_TIMER_MANAGER_H_ #define APP_HI_RES_TIMER_MANAGER_H_ +#pragma once #include "app/system_monitor.h" diff --git a/app/l10n_util.h b/app/l10n_util.h index df820ba..7f7b18a 100644 --- a/app/l10n_util.h +++ b/app/l10n_util.h @@ -7,6 +7,7 @@ #ifndef APP_L10N_UTIL_H_ #define APP_L10N_UTIL_H_ +#pragma once #include <algorithm> #include <functional> diff --git a/app/l10n_util_collator.h b/app/l10n_util_collator.h index 6964f43..98011d9 100644 --- a/app/l10n_util_collator.h +++ b/app/l10n_util_collator.h @@ -4,6 +4,7 @@ #ifndef APP_L10N_UTIL_COLLATOR_H_ #define APP_L10N_UTIL_COLLATOR_H_ +#pragma once #include <algorithm> #include <functional> diff --git a/app/l10n_util_mac.h b/app/l10n_util_mac.h index e7ce5b0..9f93a42 100644 --- a/app/l10n_util_mac.h +++ b/app/l10n_util_mac.h @@ -4,6 +4,7 @@ #ifndef APP_L10N_UTIL_MAC_H_ #define APP_L10N_UTIL_MAC_H_ +#pragma once #include "app/l10n_util.h" #include "base/basictypes.h" diff --git a/app/l10n_util_win.h b/app/l10n_util_win.h index f53cd63..99a9df3 100644 --- a/app/l10n_util_win.h +++ b/app/l10n_util_win.h @@ -4,6 +4,7 @@ #ifndef APP_L10N_UTIL_WIN_H_ #define APP_L10N_UTIL_WIN_H_ +#pragma once #include <windows.h> diff --git a/app/linear_animation.h b/app/linear_animation.h index c4f5707..72040ae 100644 --- a/app/linear_animation.h +++ b/app/linear_animation.h @@ -5,6 +5,7 @@ #ifndef APP_LINEAR_ANIMATION_H_ #define APP_LINEAR_ANIMATION_H_ +#pragma once #include "app/animation.h" #include "base/time.h" diff --git a/app/menus/accelerator.h b/app/menus/accelerator.h index 0cb6279..def6cf2 100644 --- a/app/menus/accelerator.h +++ b/app/menus/accelerator.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_ACCELERATOR_H_ #define APP_MENUS_ACCELERATOR_H_ +#pragma once #include "base/keyboard_codes.h" diff --git a/app/menus/accelerator_cocoa.h b/app/menus/accelerator_cocoa.h index 1866b4a..3eb879f 100644 --- a/app/menus/accelerator_cocoa.h +++ b/app/menus/accelerator_cocoa.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_ACCELERATOR_COCOA_H_ #define APP_MENUS_ACCELERATOR_COCOA_H_ +#pragma once #include <Foundation/Foundation.h> diff --git a/app/menus/accelerator_gtk.h b/app/menus/accelerator_gtk.h index 90c205f..86c83f7 100644 --- a/app/menus/accelerator_gtk.h +++ b/app/menus/accelerator_gtk.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_ACCELERATOR_GTK_H_ #define APP_MENUS_ACCELERATOR_GTK_H_ +#pragma once #include <gdk/gdk.h> diff --git a/app/menus/button_menu_item_model.h b/app/menus/button_menu_item_model.h index ec30d0a..29a8b7c 100644 --- a/app/menus/button_menu_item_model.h +++ b/app/menus/button_menu_item_model.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_BUTTON_MENU_ITEM_MODEL_H_ #define APP_MENUS_BUTTON_MENU_ITEM_MODEL_H_ +#pragma once #include <vector> diff --git a/app/menus/menu_model.h b/app/menus/menu_model.h index f14c8b5..c91efc9 100644 --- a/app/menus/menu_model.h +++ b/app/menus/menu_model.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_MENU_MODEL_H_ #define APP_MENUS_MENU_MODEL_H_ +#pragma once #include "base/scoped_ptr.h" #include "base/string16.h" diff --git a/app/menus/simple_menu_model.h b/app/menus/simple_menu_model.h index d57e924..2e732a9 100644 --- a/app/menus/simple_menu_model.h +++ b/app/menus/simple_menu_model.h @@ -4,6 +4,7 @@ #ifndef APP_MENUS_SIMPLE_MENU_MODEL_H_ #define APP_MENUS_SIMPLE_MENU_MODEL_H_ +#pragma once #include <vector> diff --git a/app/message_box_flags.h b/app/message_box_flags.h index f690cd2..25816e9 100644 --- a/app/message_box_flags.h +++ b/app/message_box_flags.h @@ -4,6 +4,7 @@ #ifndef APP_MESSAGE_BOX_FLAGS_H_ #define APP_MESSAGE_BOX_FLAGS_H_ +#pragma once #include "base/basictypes.h" diff --git a/app/multi_animation.h b/app/multi_animation.h index 7c9ca6d..77f5f4c 100644 --- a/app/multi_animation.h +++ b/app/multi_animation.h @@ -4,6 +4,7 @@ #ifndef APP_MULTI_ANIMATION_H_ #define APP_MULTI_ANIMATION_H_ +#pragma once #include <vector> diff --git a/app/os_exchange_data.h b/app/os_exchange_data.h index 316db88..7d68654 100644 --- a/app/os_exchange_data.h +++ b/app/os_exchange_data.h @@ -4,6 +4,7 @@ #ifndef APP_OS_EXCHANGE_DATA_H_ #define APP_OS_EXCHANGE_DATA_H_ +#pragma once #include "build/build_config.h" diff --git a/app/os_exchange_data_provider_gtk.h b/app/os_exchange_data_provider_gtk.h index 6791fbe..c6a8c47 100644 --- a/app/os_exchange_data_provider_gtk.h +++ b/app/os_exchange_data_provider_gtk.h @@ -4,6 +4,7 @@ #ifndef APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ #define APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <map> diff --git a/app/os_exchange_data_provider_win.h b/app/os_exchange_data_provider_win.h index 6ea014b..b4cc522 100644 --- a/app/os_exchange_data_provider_win.h +++ b/app/os_exchange_data_provider_win.h @@ -4,6 +4,7 @@ #ifndef APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ #define APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ +#pragma once #include <objidl.h> #include <shlobj.h> diff --git a/app/resource_bundle.h b/app/resource_bundle.h index a8c1cf7..c6bc5c3 100644 --- a/app/resource_bundle.h +++ b/app/resource_bundle.h @@ -4,6 +4,7 @@ #ifndef APP_RESOURCE_BUNDLE_H_ #define APP_RESOURCE_BUNDLE_H_ +#pragma once #include "build/build_config.h" diff --git a/app/scoped_handle_gtk.h b/app/scoped_handle_gtk.h index d501f91..95b1cd5 100644 --- a/app/scoped_handle_gtk.h +++ b/app/scoped_handle_gtk.h @@ -4,6 +4,7 @@ #ifndef APP_SCOPED_HANDLE_GTK_H_ #define APP_SCOPED_HANDLE_GTK_H_ +#pragma once #include <gdk/gdk.h> diff --git a/app/slide_animation.h b/app/slide_animation.h index 0b42792..91e64bc 100644 --- a/app/slide_animation.h +++ b/app/slide_animation.h @@ -4,6 +4,7 @@ #ifndef APP_SLIDE_ANIMATION_H_ #define APP_SLIDE_ANIMATION_H_ +#pragma once #include "app/linear_animation.h" #include "app/tween.h" diff --git a/app/sql/connection.h b/app/sql/connection.h index 6927c89..b89fb1a 100644 --- a/app/sql/connection.h +++ b/app/sql/connection.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_CONNECTION_H_ #define APP_SQL_CONNECTION_H_ +#pragma once #include <map> #include <set> diff --git a/app/sql/diagnostic_error_delegate.h b/app/sql/diagnostic_error_delegate.h index 0b0cc65..32f747f 100644 --- a/app/sql/diagnostic_error_delegate.h +++ b/app/sql/diagnostic_error_delegate.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_DIAGNOSTIC_ERROR_DELEGATE_H_ #define APP_SQL_DIAGNOSTIC_ERROR_DELEGATE_H_ +#pragma once #include "app/sql/connection.h" #include "base/histogram.h" diff --git a/app/sql/init_status.h b/app/sql/init_status.h index ac70c7b..048c5e8 100644 --- a/app/sql/init_status.h +++ b/app/sql/init_status.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_INIT_STATUS_H_ #define APP_SQL_INIT_STATUS_H_ +#pragma once namespace sql { diff --git a/app/sql/meta_table.h b/app/sql/meta_table.h index 26ad079..4b06337 100644 --- a/app/sql/meta_table.h +++ b/app/sql/meta_table.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_META_TABLE_H_ #define APP_SQL_META_TABLE_H_ +#pragma once #include <string> diff --git a/app/sql/statement.h b/app/sql/statement.h index 0fbbfba..eaaac41 100644 --- a/app/sql/statement.h +++ b/app/sql/statement.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_STATEMENT_H_ #define APP_SQL_STATEMENT_H_ +#pragma once #include <string> #include <vector> diff --git a/app/sql/transaction.h b/app/sql/transaction.h index 70741d1..c65ca8d 100644 --- a/app/sql/transaction.h +++ b/app/sql/transaction.h @@ -4,6 +4,7 @@ #ifndef APP_SQL_TRANSACTION_H_ #define APP_SQL_TRANSACTION_H_ +#pragma once #include "base/basictypes.h" diff --git a/app/surface/accelerated_surface_mac.h b/app/surface/accelerated_surface_mac.h index 608b17b..eb9d4f4 100644 --- a/app/surface/accelerated_surface_mac.h +++ b/app/surface/accelerated_surface_mac.h @@ -4,6 +4,7 @@ #ifndef APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ #define APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ +#pragma once #include <CoreFoundation/CoreFoundation.h> diff --git a/app/surface/io_surface_support_mac.h b/app/surface/io_surface_support_mac.h index 7386490..10c09cf 100644 --- a/app/surface/io_surface_support_mac.h +++ b/app/surface/io_surface_support_mac.h @@ -4,6 +4,7 @@ #ifndef APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ #define APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ +#pragma once #include <CoreFoundation/CoreFoundation.h> #include <mach/mach.h> diff --git a/app/surface/transport_dib.h b/app/surface/transport_dib.h index c392c5f..4de1df4 100644 --- a/app/surface/transport_dib.h +++ b/app/surface/transport_dib.h @@ -4,6 +4,7 @@ #ifndef APP_SURFACE_TRANSPORT_DIB_H_ #define APP_SURFACE_TRANSPORT_DIB_H_ +#pragma once #include "base/basictypes.h" diff --git a/app/system_monitor.h b/app/system_monitor.h index abafe4f..6525b70 100644 --- a/app/system_monitor.h +++ b/app/system_monitor.h @@ -4,6 +4,7 @@ #ifndef APP_SYSTEM_MONITOR_H_ #define APP_SYSTEM_MONITOR_H_ +#pragma once #include "build/build_config.h" diff --git a/app/table_model.h b/app/table_model.h index 82bb9af..60637f0 100644 --- a/app/table_model.h +++ b/app/table_model.h @@ -4,6 +4,7 @@ #ifndef APP_TABLE_MODEL_H_ #define APP_TABLE_MODEL_H_ +#pragma once #include <string> #include <vector> diff --git a/app/table_model_observer.h b/app/table_model_observer.h index cbf0d5d..37e9de5 100644 --- a/app/table_model_observer.h +++ b/app/table_model_observer.h @@ -4,6 +4,7 @@ #ifndef APP_TABLE_MODEL_OBSERVER_H_ #define APP_TABLE_MODEL_OBSERVER_H_ +#pragma once // Observer for a TableModel. Anytime the model changes, it must notify its // observer. diff --git a/app/test/data/resource.h b/app/test/data/resource.h index 9043b38..bb82442 100644 --- a/app/test/data/resource.h +++ b/app/test/data/resource.h @@ -20,6 +20,7 @@ #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 108 +#pragma once #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #define _APS_NEXT_SYMED_VALUE 101 diff --git a/app/test_animation_delegate.h b/app/test_animation_delegate.h index 0d9554b..c88aa9f 100644 --- a/app/test_animation_delegate.h +++ b/app/test_animation_delegate.h @@ -4,6 +4,7 @@ #ifndef APP_TEST_ANIMATION_DELEGATE_H_ #define APP_TEST_ANIMATION_DELEGATE_H_ +#pragma once #include "app/animation.h" #include "base/message_loop.h" diff --git a/app/test_suite.h b/app/test_suite.h index 3a738b2..37e2322 100644 --- a/app/test_suite.h +++ b/app/test_suite.h @@ -4,6 +4,7 @@ #ifndef APP_TEST_SUITE_H_ #define APP_TEST_SUITE_H_ +#pragma once #include "build/build_config.h" diff --git a/app/text_elider.h b/app/text_elider.h index 1378f3b..d2a6a73 100644 --- a/app/text_elider.h +++ b/app/text_elider.h @@ -4,6 +4,7 @@ #ifndef APP_TEXT_ELIDER_H_ #define APP_TEXT_ELIDER_H_ +#pragma once #include <unicode/coll.h> #include <unicode/uchar.h> diff --git a/app/theme_provider.h b/app/theme_provider.h index e26fd74..a7994a5 100644 --- a/app/theme_provider.h +++ b/app/theme_provider.h @@ -4,6 +4,7 @@ #ifndef APP_THEME_PROVIDER_H_ #define APP_THEME_PROVIDER_H_ +#pragma once #include <vector> diff --git a/app/throb_animation.h b/app/throb_animation.h index 7dc67b3..e7baced 100644 --- a/app/throb_animation.h +++ b/app/throb_animation.h @@ -4,6 +4,7 @@ #ifndef APP_THROB_ANIMATION_H_ #define APP_THROB_ANIMATION_H_ +#pragma once #include "app/slide_animation.h" diff --git a/app/tree_model.h b/app/tree_model.h index fceb22d..353b56b 100644 --- a/app/tree_model.h +++ b/app/tree_model.h @@ -4,6 +4,7 @@ #ifndef APP_TREE_MODEL_H_ #define APP_TREE_MODEL_H_ +#pragma once #include <string> #include <vector> diff --git a/app/tree_node_iterator.h b/app/tree_node_iterator.h index 7e7398c..e65ffce 100644 --- a/app/tree_node_iterator.h +++ b/app/tree_node_iterator.h @@ -4,6 +4,7 @@ #ifndef APP_TREE_NODE_ITERATOR_H_ #define APP_TREE_NODE_ITERATOR_H_ +#pragma once #include <stack> diff --git a/app/tree_node_model.h b/app/tree_node_model.h index b11bf38..bd1b4bc 100644 --- a/app/tree_node_model.h +++ b/app/tree_node_model.h @@ -4,6 +4,7 @@ #ifndef APP_TREE_NODE_MODEL_H_ #define APP_TREE_NODE_MODEL_H_ +#pragma once #include <algorithm> #include <string> diff --git a/app/tween.h b/app/tween.h index 41785ef6..15396e9 100644 --- a/app/tween.h +++ b/app/tween.h @@ -4,6 +4,7 @@ #ifndef APP_TWEEN_H_ #define APP_TWEEN_H_ +#pragma once #include "base/logging.h" diff --git a/app/win_util.h b/app/win_util.h index 9d745eb..30bfd83 100644 --- a/app/win_util.h +++ b/app/win_util.h @@ -4,6 +4,7 @@ #ifndef APP_WIN_UTIL_H_ #define APP_WIN_UTIL_H_ +#pragma once #include <objbase.h> diff --git a/app/x11_util.h b/app/x11_util.h index 62881f0..2c983fc 100644 --- a/app/x11_util.h +++ b/app/x11_util.h @@ -4,6 +4,7 @@ #ifndef APP_X11_UTIL_H_ #define APP_X11_UTIL_H_ +#pragma once // This file declares utility functions for X11 (Linux only). // diff --git a/app/x11_util_internal.h b/app/x11_util_internal.h index 81f2820..9b65dcd 100644 --- a/app/x11_util_internal.h +++ b/app/x11_util_internal.h @@ -4,6 +4,7 @@ #ifndef APP_X11_UTIL_INTERNAL_H_ #define APP_X11_UTIL_INTERNAL_H_ +#pragma once // This file declares utility functions for X11 (Linux only). // |