mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

There didn't seem to be any examples on how to do this. I've only shown the Linux implementation, others may want to follow this PR up with support for other platforms.
23 lines
553 B
C
23 lines
553 B
C
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef FLUTTER_MY_APPLICATION_H_
|
|
#define FLUTTER_MY_APPLICATION_H_
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
|
|
GtkApplication)
|
|
|
|
/**
|
|
* my_application_new:
|
|
*
|
|
* Creates a new Flutter-based application.
|
|
*
|
|
* Returns: a new #MyApplication.
|
|
*/
|
|
MyApplication* my_application_new();
|
|
|
|
#endif // FLUTTER_MY_APPLICATION_H_
|