electron/atom/browser/auto_updater.cc

20 lines
468 B
C++
Raw Normal View History

// Copyright (c) 2013 GitHub, Inc. All rights reserved.
2014-04-25 09:49:37 +00:00
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
2014-03-16 00:30:26 +00:00
#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;
}
} // namespace auto_updater