Skip to content

Commit

Permalink
Submit button hook
Browse files Browse the repository at this point in the history
  • Loading branch information
emist committed Dec 24, 2011
1 parent b6d9b48 commit 1b0443e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Factories/FunctionCallFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ public struct CALLS
/// </summary>
public const string GETMODALCANCELBUTTON = "getModalCancelButton";

/// <summary>
/// Get the Submit button of a modal window
/// </summary>
public const string GETMODALSUBMITBUTTON = "getModalSubmitButton";

/// <summary>
/// Get the OK button of a modal window if present
/// </summary>
Expand Down Expand Up @@ -461,19 +466,20 @@ public struct CALLS
public const string GETINJUREDDRONE = "getInjuredDrone";
}


/// <summary>
/// Builds a functionCall object with no parameters
/// </summary>
/// <param name="function">The function name to be called</param>
/// <returns>The serializeable functionCall object</returns>
public eveobjects.functionCall build(string function)
{

this.function = new eveobjects.functionCall();
eveobjects.functionCall.Builder builder = this.function.ToBuilder();
builder.Name = function;
return builder.Build();

}

/// <summary>
Expand Down

0 comments on commit 1b0443e

Please sign in to comment.