Add dummy implementation of message box for Windows.
This commit is contained in:
parent
df460c8d7d
commit
cbb3c89ad7
2 changed files with 19 additions and 0 deletions
1
atom.gyp
1
atom.gyp
|
@ -96,6 +96,7 @@
|
|||
'browser/media/media_stream_devices_controller.h',
|
||||
'browser/message_box.h',
|
||||
'browser/message_box_mac.mm',
|
||||
'browser/message_box_win.cc',
|
||||
'browser/native_window.cc',
|
||||
'browser/native_window.h',
|
||||
'browser/native_window_mac.h',
|
||||
|
|
18
browser/message_box_win.cc
Normal file
18
browser/message_box_win.cc
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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/message_box.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
int ShowMessageBox(NativeWindow* parent_window,
|
||||
MessageBoxType type,
|
||||
const std::vector<std::string>& buttons,
|
||||
const std::string& title,
|
||||
const std::string& message,
|
||||
const std::string& detail) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace atom
|
Loading…
Add table
Add a link
Reference in a new issue