Browse Subversion Repository
Contents of /TimeLogger/trunk/src/org/timerabbit/logger/SendTweet.fx
Parent Directory
| Revision Log
Revision 14 -
( show annotations)
( download)
Sat Oct 24 16:29:40 2009 UTC
(14 years, 5 months ago)
by jkawamoto
File size: 1104 byte(s)
| 1 |
/* |
| 2 |
* Copyright 2009 Junpei Kawamoto |
| 3 |
* |
| 4 |
* This file is part of TimeRabbit project TimeLogger. |
| 5 |
* TimeRabbit project TimeLogger is free software: you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation, either version 3 of the License, or |
| 8 |
* (at your option) any later version. |
| 9 |
* |
| 10 |
* TimeRabbit project TimeLogger is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
* GNU General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with TimeRabbit project TimeLogger. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
package org.timerabbit.logger; |
| 19 |
|
| 20 |
import javafx.async.JavaTaskBase; |
| 21 |
|
| 22 |
class SendTweetTask extends JavaTaskBase{ |
| 23 |
|
| 24 |
public-init var status: String; |
| 25 |
|
| 26 |
override function create(){ |
| 27 |
return new SendTweetImpl(status); |
| 28 |
} |
| 29 |
|
| 30 |
} |
| 31 |
|
| 32 |
package function send(status: String): Void{ |
| 33 |
SendTweetTask{ |
| 34 |
status: status |
| 35 |
}.start(); |
| 36 |
} |
|