mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add dummy implementation of message box for Windows.
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user