Wrap Sparkle's minimum interface with C++.
This commit is contained in:
parent
312744b863
commit
08dbdd9718
6 changed files with 188 additions and 0 deletions
19
browser/auto_updater.cc
Normal file
19
browser/auto_updater.cc
Normal file
|
@ -0,0 +1,19 @@
|
|||
// 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 {
|
||||
|
||||
AutoUpdaterDelegate* AutoUpdater::delegate_ = NULL;
|
||||
|
||||
AutoUpdaterDelegate* AutoUpdater::GetDelegate() {
|
||||
return delegate_;
|
||||
}
|
||||
|
||||
void AutoUpdater::SetDelegate(AutoUpdaterDelegate* delegate) {
|
||||
delegate_ = delegate;
|
||||
}
|
||||
|
||||
} // namespace auto_updater
|
Loading…
Add table
Add a link
Reference in a new issue