| Index: samples/simple_todo/simple_todo.idl
|
| diff --git a/samples/simple_todo/simple_todo.idl b/samples/simple_todo/simple_todo.idl
|
| deleted file mode 100644
|
| index 64c47a6b29c83f1215fcfefeb1209e5c619ab488..0000000000000000000000000000000000000000
|
| --- a/samples/simple_todo/simple_todo.idl
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE.md file.
|
| -
|
| -service TodoService {
|
| -
|
| - void createItem(BoxString* title);
|
| -
|
| - // toggle the done flag for the item identified by 'id'
|
| - void toggle(int32 id);
|
| -
|
| - void deleteItem(int32 id);
|
| -
|
| - void clearItems();
|
| -
|
| - TodoItem* getItem(int32 index);
|
| -
|
| - TodoItem* getItemById(int32 id);
|
| -
|
| - int32 getNoItems();
|
| -}
|
| -
|
| -struct BoxString {
|
| - String s;
|
| -}
|
| -
|
| -struct TodoItem {
|
| - String title;
|
| - bool done;
|
| - int32 id; // id is unique to each item.
|
| -}
|
|
|