Add empty auto updater implementation for Windows.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jul 2013 07:37:45 +0000 (15:37 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jul 2013 08:30:48 +0000 (16:30 +0800)
atom.gyp
browser/auto_updater_win.cc [new file with mode: 0644]

index 9fbf8bf..9109dc1 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -62,6 +62,7 @@
       'browser/auto_updater_delegate.cc',
       'browser/auto_updater_delegate.h',
       'browser/auto_updater_mac.mm',
+      'browser/auto_updater_win.cc',
       'browser/atom_application_mac.h',
       'browser/atom_application_mac.mm',
       'browser/atom_application_delegate_mac.h',
diff --git a/browser/auto_updater_win.cc b/browser/auto_updater_win.cc
new file mode 100644 (file)
index 0000000..845eb45
--- /dev/null
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 GitHub, Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "browser/auto_updater.h"
+
+namespace auto_updater {
+
+// static
+void AutoUpdater::Init() {
+}
+
+// static
+void AutoUpdater::SetFeedURL(const std::string& url) {
+}
+
+// static
+void AutoUpdater::SetAutomaticallyChecksForUpdates(bool yes) {
+}
+
+// static
+void AutoUpdater::SetAutomaticallyDownloadsUpdates(bool yes) {
+}
+
+// static
+void AutoUpdater::CheckForUpdates() {
+}
+
+// static
+void AutoUpdater::CheckForUpdatesInBackground() {
+}
+
+}  // namespace auto_updater