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

This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
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_
|