contract RBTToken is DropableToken, BurnableToken, PurchasableToken {
    string public name = "RBT - a flexible token which can be rebranded";
    string public symbol = "RBT";
    string public version = '1.0';
    string public desc = "";
    uint256 constant CAP = 100000000000 * (10 ** uint256(decimals)); // total
    uint256 constant STARTUP = 100000000 * (10 ** uint256(decimals)); // 0.1% startup

    /**
     * @dev Constructor that gives msg.sender the STARTUP tokens.
     */
    function RBTToken() public {
        mint(msg.sender, STARTUP);
        actualCap_ = CAP;
    }

    // ------------------------------------------------------------------------
    // Don't accept ETH, fallback function
    // ------------------------------------------------------------------------
    function() public payable {
        revert();
    }

    /**
     * If we want to rebrand, we can.
     */
    function setName(string _name) onlyOwner public {
        name = _name;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setSymbol(string _symbol) onlyOwner public {
        symbol = _symbol;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setVersion(string _version) onlyOwner public {
        version = _version;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setDesc(string _desc) onlyOwner public {
        desc = _desc;
    }

    /* Approves and then calls the receiving contract */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
        if (approve(_spender, _value)) {
            //call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually so one doesn't have to include a contract in here just for this.
            //receiveApproval(address _from, uint256 _value, address _tokenContract, bytes _extraData)
            //it is assumed that when does this that the call *should* succeed, otherwise one would use vanilla approve instead.
            if (!_spender.call(bytes4(bytes32(keccak256("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) {revert();}
            return true;
        }
    }

    /* Approves and then calls the contract code*/
    function approveAndCallcode(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
        if (approve(_spender, _value)) {
            //Call the contract code
            if (!_spender.call(_extraData)) {revert();}
            return true;
        }
    }

}
function() public payable {
        revert();
    }
// ------------------------------------------------------------------------
// Don't accept ETH, fallback function
// ------------------------------------------------------------------------