- add sources.
[platform/framework/web/crosswalk.git] / src / remoting / host / setup / win / load_string_from_resource.cc
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 #include "remoting/host/setup/win/load_string_from_resource.h"
6
7 namespace remoting {
8
9 CAtlString LoadStringFromResource(int id) {
10   CAtlString s;
11   if (!s.LoadString(id)) {
12     s.Format(L"Missing resource %d", id);
13   }
14   return s;
15 }
16
17 }  // namespace remoting