2016-05-05 07:26:44 +00:00
|
|
|
// Copyright (c) 2016 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_
|
|
|
|
#define ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2016-07-04 06:08:55 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2022-06-23 06:28:41 +00:00
|
|
|
#include "base/values.h"
|
2016-05-05 07:26:44 +00:00
|
|
|
|
|
|
|
namespace electron {
|
|
|
|
|
2022-06-23 06:28:41 +00:00
|
|
|
NSArray* ListValueToNSArray(const base::Value::List& value);
|
|
|
|
base::Value::List NSArrayToValue(NSArray* arr);
|
|
|
|
NSDictionary* DictionaryValueToNSDictionary(const base::Value::Dict& value);
|
|
|
|
base::Value::Dict NSDictionaryToValue(NSDictionary* dict);
|
2016-05-05 07:26:44 +00:00
|
|
|
|
|
|
|
} // namespace electron
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_
|