electron/shell/browser/ui/tray_icon_win.cc

17 lines
418 B
C++
Raw Normal View History

// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/ui/win/notify_icon.h"
#include "shell/browser/ui/win/notify_icon_host.h"
namespace electron {
2014-05-30 15:57:54 +00:00
// static
TrayIcon* TrayIcon::Create(base::Optional<UUID> guid) {
2014-06-03 03:25:09 +00:00
static NotifyIconHost host;
return host.CreateNotifyIcon(guid);
2014-05-30 15:57:54 +00:00
}
} // namespace electron