blob: 9a75bedf856bc0aa2a113c3b856cfa5fc5a329a3 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
#define UI_BASE_RESOURCE_RESOURCE_BUNDLE_WIN_
#include "build/build_config.h"
#include <windows.h>
#include "base/basictypes.h"
#include "ui/base/ui_export.h"
namespace ui {
// NOTE: This needs to be called before initializing ResourceBundle if your
// resources are not stored in the executable.
UI_EXPORT void SetResourcesDataDLL(HINSTANCE handle);
// Loads and returns an icon from the app module.
UI_EXPORT HICON LoadThemeIconFromResourcesDataDLL(int icon_id);
} // namespace ui
#endif // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_