Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv msg/msg.h simgrid/msg.h
[simgrid.git] / src / bindings / java / jmsg_task.h
index 8078984..c1c108e 100644 (file)
@@ -1,16 +1,16 @@
 /* Functions related to the java task instances.                            */
 
-/* Copyright (c) 2007-2012. The SimGrid Team.
+/* Copyright (c) 2007-2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
 * under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #ifndef MSG_JTASK_H
 #define MSG_JTASK_H
 
 #include <jni.h>
-#include "msg/msg.h"
+#include "simgrid/msg.h"
 
 /**
  * This function returns a global reference to the  java task instance 
@@ -124,6 +124,14 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Task_cancel
 JNIEXPORT void JNICALL Java_org_simgrid_msg_Task_execute
     (JNIEnv *, jobject);
 
+/*
+ * Class               org_simgrid_msg_Task
+ * Method              setBound
+ * Signature   ()V
+ */
+JNIEXPORT void JNICALL Java_org_simgrid_msg_Task_setBound
+    (JNIEnv *, jobject, jdouble);
+
 /*
  * Class               org_simgrid_msg_Task
  * Method              getName
@@ -177,7 +185,7 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Task_setPriority
     (JNIEnv *, jobject, jdouble);
 /**
  * Class               org_simgrid_msg_Task
- * Method              setComputationAmount
+ * Method              setComputeDuration
  * Signature   (D)V
  */
 JNIEXPORT void JNICALL