mirror of
https://github.com/electron/electron.git
synced 2026-02-14 09:05:01 -05:00
28 lines
598 B
C++
28 lines
598 B
C++
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "atom/browser/auto_updater.h"
|
|
|
|
namespace auto_updater {
|
|
|
|
AutoUpdaterDelegate* AutoUpdater::delegate_ = NULL;
|
|
|
|
AutoUpdaterDelegate* AutoUpdater::GetDelegate() {
|
|
return delegate_;
|
|
}
|
|
|
|
void AutoUpdater::SetDelegate(AutoUpdaterDelegate* delegate) {
|
|
delegate_ = delegate;
|
|
}
|
|
|
|
#if defined(OS_MACOSX) && defined(MAS_BUILD)
|
|
void AutoUpdater::SetFeedURL(const std::string& url) {
|
|
}
|
|
|
|
void AutoUpdater::CheckForUpdates() {
|
|
}
|
|
#endif
|
|
|
|
} // namespace auto_updater
|