electron/shell/browser/ui/tray_icon_win.cc

17 lines
379 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.
2014-06-03 03:25:09 +00:00
#include "atom/browser/ui/win/notify_icon.h"
#include "atom/browser/ui/win/notify_icon_host.h"
namespace atom {
2014-05-30 15:57:54 +00:00
// static
TrayIcon* TrayIcon::Create() {
2014-06-03 03:25:09 +00:00
static NotifyIconHost host;
return host.CreateNotifyIcon();
2014-05-30 15:57:54 +00:00
}
} // namespace atom