Home | History | Annotate | Download | only in resource
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
      6 #define UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
      7 
      8 #include "build/build_config.h"
      9 
     10 #include <windows.h>
     11 
     12 #include "base/basictypes.h"
     13 #include "ui/base/ui_export.h"
     14 
     15 namespace ui {
     16 
     17 // NOTE: This needs to be called before initializing ResourceBundle if your
     18 // resources are not stored in the executable.
     19 UI_EXPORT void SetResourcesDataDLL(HINSTANCE handle);
     20 
     21 // Loads and returns an icon from the app module.
     22 UI_EXPORT HICON LoadThemeIconFromResourcesDataDLL(int icon_id);
     23 
     24 }  // namespace ui
     25 
     26 #endif  // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_
     27